mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-17 17:12:32 +00:00
Keep last reason for reboot
This commit is contained in:
@@ -102,7 +102,12 @@ EntsoeApi* eapi = NULL;
|
||||
|
||||
Timezone* tz = NULL;
|
||||
|
||||
AmsWebServer ws(commonBuffer, &Debug, &hw);
|
||||
#if defined(ESP32)
|
||||
__NOINIT_ATTR ResetDataContainer rdc;
|
||||
#else
|
||||
ResetDataContainer rdc;
|
||||
#endif
|
||||
AmsWebServer ws(commonBuffer, &Debug, &hw, &rdc);
|
||||
|
||||
bool mqttEnabled = false;
|
||||
AmsMqttHandler* mqttHandler = NULL;
|
||||
|
||||
Reference in New Issue
Block a user