reset.cpp: bugfix reset vars in coldstart

This commit is contained in:
cyberman54 2021-04-12 23:44:07 +02:00
parent fc1ac508ef
commit ea7fa5d31f

View File

@ -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();