v0.9.512
This commit is contained in:
@@ -234,6 +234,9 @@ Work is in progress...
|
||||
|
||||
---
|
||||
## Version history
|
||||
### 0.9.512
|
||||
- fixed bug with saving ntp server #1 value
|
||||
|
||||
### 0.9.511
|
||||
In this version, the contents of the data/www directory have changed, so that the first time you flash it, you will be greeted by WEB Board Uploader. Just upload all the files from data/www (11 pcs) to it
|
||||
or -> **!!! a [full update](#update-over-web-interface) with Sketch data upload is required. After updating please press CTRL+F5 in browser !!!**
|
||||
|
||||
@@ -582,13 +582,13 @@ void NetServer::onWsMessage(void *arg, uint8_t *data, size_t len, uint8_t client
|
||||
return;
|
||||
}
|
||||
if (strcmp(cmd, "sntp1") == 0) {
|
||||
strlcpy(config.store.sntp1, val, 35);
|
||||
//strlcpy(config.store.sntp1, val, 35);
|
||||
bool tzdone = false;
|
||||
if (strlen(config.store.sntp1) > 0 && strlen(config.store.sntp2) > 0) {
|
||||
configTime(config.store.tzHour * 3600 + config.store.tzMin * 60, config.getTimezoneOffset(), config.store.sntp1, config.store.sntp2);
|
||||
if (strlen(val) > 0 && strlen(config.store.sntp2) > 0) {
|
||||
configTime(config.store.tzHour * 3600 + config.store.tzMin * 60, config.getTimezoneOffset(), val, config.store.sntp2);
|
||||
tzdone = true;
|
||||
} else if (strlen(config.store.sntp1) > 0) {
|
||||
configTime(config.store.tzHour * 3600 + config.store.tzMin * 60, config.getTimezoneOffset(), config.store.sntp1);
|
||||
} else if (strlen(val) > 0) {
|
||||
configTime(config.store.tzHour * 3600 + config.store.tzMin * 60, config.getTimezoneOffset(), val);
|
||||
tzdone = true;
|
||||
}
|
||||
if (tzdone) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef options_h
|
||||
#define options_h
|
||||
|
||||
#define YOVERSION "0.9.511"
|
||||
#define YOVERSION "0.9.512"
|
||||
|
||||
/*******************************************************
|
||||
DO NOT EDIT THIS FILE.
|
||||
|
||||
Reference in New Issue
Block a user