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