Init RTC sooner

This commit is contained in:
Theo Arends 2021-03-15 15:51:31 +01:00
parent 9645f3008e
commit 3555b9e5f9
1 changed files with 3 additions and 1 deletions

View File

@ -338,6 +338,8 @@ void setup(void) {
snprintf_P(TasmotaGlobal.hostname, sizeof(TasmotaGlobal.hostname)-1, SettingsText(SET_HOSTNAME));
}
RtcInit();
GpioInit();
WifiConnect();
@ -350,7 +352,7 @@ void setup(void) {
AddLog(LOG_LEVEL_INFO, PSTR(D_WARNING_MINIMAL_VERSION));
#endif // FIRMWARE_MINIMAL
RtcInit();
// RtcInit();
#ifdef USE_ARDUINO_OTA
ArduinoOTAInit();