Skip to content

Commit d8981ae

Browse files
committed
v0.9.515
1 parent 053d438 commit d8981ae

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

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

235235
---
236236
## Version history
237+
### 0.9.515
238+
- fixed a bug with resetting all parameters when resetting only one section of parameters
239+
237240
### 0.9.512
238241
- fixed bug with saving ntp server #1 value
239242

240243
### 0.9.511
241-
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
244+
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\
242245
or -> **!!! a [full update](#update-over-web-interface) with Sketch data upload is required. After updating please press CTRL+F5 in browser !!!**
243246
- fixed a bug with saving smartstart mode
244247
- fixed a bug with no restart when initially uploading files to spiffs

yoRadio/src/core/netserver.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -699,12 +699,15 @@ void NetServer::onWsMessage(void *arg, uint8_t *data, size_t len, uint8_t client
699699
config.saveValue(&config.store.fliptouch, false, false);
700700
config.saveValue(&config.store.dbgtouch, false, false);
701701
config.saveValue(&config.store.skipPlaylistUpDown, false);
702-
703702
setEncAcceleration(200);
704703
setIRTolerance(40);
705704
requestOnChange(GETCONTROLS, clientId);
706705
return;
707706
}
707+
if (strcmp(val, "1") == 0) {
708+
config.reset();
709+
return;
710+
}
708711
} /* EOF RESETS */
709712
if (strcmp(cmd, "volume") == 0) {
710713
uint8_t v = atoi(val);
@@ -764,10 +767,6 @@ void NetServer::onWsMessage(void *arg, uint8_t *data, size_t len, uint8_t client
764767
ESP.restart();
765768
return;
766769
}
767-
if (strcmp(cmd, "reset") == 0) {
768-
config.reset();
769-
return;
770-
}
771770
if (strcmp(cmd, "submitplaylist") == 0) {
772771
return;
773772
}

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.512"
4+
#define YOVERSION "0.9.515"
55

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

0 commit comments

Comments
 (0)