reset.cpp: bugfix reset vars in coldstart
This commit is contained in:
1 parent
fc1ac508ef
commit
ea7fa5d31f
1 file changed
+1
-1
+1
-1
@@ -33,7 +33,7 @@ void do_reset(bool warmstart) {
|
||||
LMIC_shutdown();
|
||||
}
|
||||
#endif
|
||||
RTC_runmode = RUNMODE_POWERCYCLE;
|
||||
reset_rtc_vars(void);
|
||||
ESP_LOGI(TAG, "restarting device (coldstart)");
|
||||
}
|
||||
esp_restart();
|
||||
|
||||
Reference in new issue
Block a user