Skip to content

Commit 3f5ed09

Browse files
committed
v0.9.375
1 parent dc9c5b2 commit 3f5ed09

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,13 @@ Work is in progress...
234234

235235
---
236236
## Version history
237+
#### v0.9.375
238+
- fixed the issue with saving settings for TIMEZONE.
239+
237240
### v0.9.373
238241
- fixed the issue with displaying the settings page on fresh ESP modules after saving the weather key
239242
(a [reset](https://github.com/e2002/yoradio/wiki/List-of-available-commands-(UART-telnet-GET-POST)) may be required)
240-
243+
241244
#### v0.9.370
242245
- fixed the issue with saving settings on fresh ESP modules.
243246

yoRadio/src/core/netserver.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,13 +475,13 @@ void NetServer::onWsMessage(void *arg, uint8_t *data, size_t len, uint8_t client
475475
return;
476476
}
477477
if (strcmp(cmd, "tzh") == 0) {
478-
int vali = atoi(val);
479-
config.store.tzHour = vali;
478+
int8_t vali = atoi(val);
479+
config.saveValue(&config.store.tzHour, vali);
480480
return;
481481
}
482482
if (strcmp(cmd, "tzm") == 0) {
483-
int vali = atoi(val);
484-
config.store.tzMin = vali;
483+
int8_t vali = atoi(val);
484+
config.saveValue(&config.store.tzMin, vali);
485485
return;
486486
}
487487
if (strcmp(cmd, "sntp2") == 0) {

yoRadio/src/core/options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef options_h
22
#define options_h
33

4-
#define YOVERSION "0.9.373"
4+
#define YOVERSION "0.9.375"
55

66
/*******************************************************
77
DO NOT EDIT THIS FILE.

0 commit comments

Comments
 (0)