From ea7fa5d31f04aef93e715d8f72bff9f483e11121 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Mon, 12 Apr 2021 23:44:07 +0200 Subject: [PATCH] reset.cpp: bugfix reset vars in coldstart --- src/reset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reset.cpp b/src/reset.cpp index 6399dc95..f410968d 100644 --- a/src/reset.cpp +++ b/src/reset.cpp @@ -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();