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

@@ -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.dbgtouch, false, false);
config.saveValue(&config.store.skipPlaylistUpDown, false);
setEncAcceleration(200);
setIRTolerance(40);
requestOnChange(GETCONTROLS, clientId);
return;
}
if (strcmp(val, "1") == 0) {
config.reset();
return;
}
} /* EOF RESETS */
if (strcmp(cmd, "volume") == 0) {
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();
return;
}
if (strcmp(cmd, "reset") == 0) {
config.reset();
return;
}
if (strcmp(cmd, "submitplaylist") == 0) {
return;
}

View File

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