This commit is contained in:
e2002
2025-07-14 17:35:26 +03:00
parent 053d438da4
commit d8981ae3a7
3 changed files with 9 additions and 7 deletions

View File

@@ -234,11 +234,14 @@ Work is in progress...
--- ---
## Version history ## Version history
### 0.9.515
- fixed a bug with resetting all parameters when resetting only one section of parameters
### 0.9.512 ### 0.9.512
- fixed bug with saving ntp server #1 value - fixed bug with saving ntp server #1 value
### 0.9.511 ### 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 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 !!!** or -> **!!! a [full update](#update-over-web-interface) with Sketch data upload is required. After updating please press CTRL+F5 in browser !!!**
- fixed a bug with saving smartstart mode - fixed a bug with saving smartstart mode
- fixed a bug with no restart when initially uploading files to spiffs - fixed a bug with no restart when initially uploading files to spiffs

View File

@@ -699,12 +699,15 @@ void NetServer::onWsMessage(void *arg, uint8_t *data, size_t len, uint8_t client
config.saveValue(&config.store.fliptouch, false, false); config.saveValue(&config.store.fliptouch, false, false);
config.saveValue(&config.store.dbgtouch, false, false); config.saveValue(&config.store.dbgtouch, false, false);
config.saveValue(&config.store.skipPlaylistUpDown, false); config.saveValue(&config.store.skipPlaylistUpDown, false);
setEncAcceleration(200); setEncAcceleration(200);
setIRTolerance(40); setIRTolerance(40);
requestOnChange(GETCONTROLS, clientId); requestOnChange(GETCONTROLS, clientId);
return; return;
} }
if (strcmp(val, "1") == 0) {
config.reset();
return;
}
} /* EOF RESETS */ } /* EOF RESETS */
if (strcmp(cmd, "volume") == 0) { if (strcmp(cmd, "volume") == 0) {
uint8_t v = atoi(val); uint8_t v = atoi(val);
@@ -764,10 +767,6 @@ void NetServer::onWsMessage(void *arg, uint8_t *data, size_t len, uint8_t client
ESP.restart(); ESP.restart();
return; return;
} }
if (strcmp(cmd, "reset") == 0) {
config.reset();
return;
}
if (strcmp(cmd, "submitplaylist") == 0) { if (strcmp(cmd, "submitplaylist") == 0) {
return; return;
} }

View File

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