diff --git a/src/helpers/ESP32Board.h b/src/helpers/ESP32Board.h index e566f929..47069191 100644 --- a/src/helpers/ESP32Board.h +++ b/src/helpers/ESP32Board.h @@ -94,7 +94,7 @@ class ESP32RTCClock : public mesh::RTCClock { ESP32RTCClock() { } void begin() { esp_reset_reason_t reason = esp_reset_reason(); - if (reason == ESP_RST_POWERON) { + if (reason == ESP_RST_POWERON || reason == ESP_RST_SW) { // start with some date/time in the recent past struct timeval tv; tv.tv_sec = 1715770351; // 15 May 2024, 8:50pm