This commit is contained in:
e2002
2024-12-16 20:46:41 +03:00
parent dc9c5b2a79
commit 3f5ed098de
3 changed files with 9 additions and 6 deletions

View File

@@ -234,10 +234,13 @@ Work is in progress...
--- ---
## Version history ## Version history
#### v0.9.375
- fixed the issue with saving settings for TIMEZONE.
### v0.9.373 ### v0.9.373
- fixed the issue with displaying the settings page on fresh ESP modules after saving the weather key - fixed the issue with displaying the settings page on fresh ESP modules after saving the weather key
(a [reset](https://github.com/e2002/yoradio/wiki/List-of-available-commands-(UART-telnet-GET-POST)) may be required) (a [reset](https://github.com/e2002/yoradio/wiki/List-of-available-commands-(UART-telnet-GET-POST)) may be required)
#### v0.9.370 #### v0.9.370
- fixed the issue with saving settings on fresh ESP modules. - fixed the issue with saving settings on fresh ESP modules.

View File

@@ -475,13 +475,13 @@ void NetServer::onWsMessage(void *arg, uint8_t *data, size_t len, uint8_t client
return; return;
} }
if (strcmp(cmd, "tzh") == 0) { if (strcmp(cmd, "tzh") == 0) {
int vali = atoi(val); int8_t vali = atoi(val);
config.store.tzHour = vali; config.saveValue(&config.store.tzHour, vali);
return; return;
} }
if (strcmp(cmd, "tzm") == 0) { if (strcmp(cmd, "tzm") == 0) {
int vali = atoi(val); int8_t vali = atoi(val);
config.store.tzMin = vali; config.saveValue(&config.store.tzMin, vali);
return; return;
} }
if (strcmp(cmd, "sntp2") == 0) { if (strcmp(cmd, "sntp2") == 0) {

View File

@@ -1,7 +1,7 @@
#ifndef options_h #ifndef options_h
#define options_h #define options_h
#define YOVERSION "0.9.373" #define YOVERSION "0.9.375"
/******************************************************* /*******************************************************
DO NOT EDIT THIS FILE. DO NOT EDIT THIS FILE.