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,6 +234,9 @@ Work is in progress...
---
## Version history
#### v0.9.375
- fixed the issue with saving settings for TIMEZONE.
### v0.9.373
- 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)

View File

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

View File

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