Browse Source

0.5.58

* fix ESP8266 save settings issue #1166
pull/1169/head
lumapu 2 years ago
parent
commit
d0c834f17a
  1. 3
      src/CHANGES.md
  2. 2
      src/app.h
  3. 2
      src/defines.h

3
src/CHANGES.md

@ -1,5 +1,8 @@
# Development Changes # Development Changes
## 0.5.58
* fix ESP8266 save settings issue #1166
## 0.7.57 - 2023-09-18 ## 0.7.57 - 2023-09-18
* fix Alarms are always in queue (since 0.7.56) * fix Alarms are always in queue (since 0.7.56)
* fix display active power control to long for small devices #1165 * fix display active power control to long for small devices #1165

2
src/app.h

@ -102,7 +102,6 @@ class app : public IApp, public ah::Scheduler {
mSavePending = true; mSavePending = true;
mSaveReboot = reboot; mSaveReboot = reboot;
if(reboot) { if(reboot) {
onNetwork(false);
ah::Scheduler::resetTicker(); ah::Scheduler::resetTicker();
} }
once(std::bind(&app::tickSave, this), 3, "save"); once(std::bind(&app::tickSave, this), 3, "save");
@ -285,7 +284,6 @@ class app : public IApp, public ah::Scheduler {
void tickReboot(void) { void tickReboot(void) {
DPRINTLN(DBG_INFO, F("Rebooting...")); DPRINTLN(DBG_INFO, F("Rebooting..."));
onNetwork(false);
ah::Scheduler::resetTicker(); ah::Scheduler::resetTicker();
WiFi.disconnect(); WiFi.disconnect();
delay(200); delay(200);

2
src/defines.h

@ -13,7 +13,7 @@
//------------------------------------- //-------------------------------------
#define VERSION_MAJOR 0 #define VERSION_MAJOR 0
#define VERSION_MINOR 7 #define VERSION_MINOR 7
#define VERSION_PATCH 57 #define VERSION_PATCH 58
//------------------------------------- //-------------------------------------
typedef struct { typedef struct {

Loading…
Cancel
Save