Arduino Core 3 (#407)
* Add and remove libs and components for Arduino Core 3 * Arduino Core 3 * Add back Solo1 * Change ESP32-S3 to 4MB build * Update README.md * Fix retain and number of retries * Fix rolling log * Fix defaults * Fix BleScanner on Solo1 * Export settings * Import settings * Fix HA Battery voltage * Change submodule * Update espMqttClient and AsyncTCP * Webserial and MQTT/Network reconnecting * Update nuki_ble --------- Co-authored-by: iranl <iranl@github.com>
This commit is contained in:
@@ -19,6 +19,8 @@ enum class RestartReason
|
||||
OTATimeout,
|
||||
OTAAborted,
|
||||
OTAUnknownState,
|
||||
OTAReboot,
|
||||
ImportCompleted,
|
||||
DeviceUnpaired,
|
||||
NukiHubReset,
|
||||
NotApplicable
|
||||
@@ -99,6 +101,10 @@ inline static String getRestartReason()
|
||||
return "OTAAborted";
|
||||
case RestartReason::OTAUnknownState:
|
||||
return "OTAUnknownState";
|
||||
case RestartReason::OTAReboot:
|
||||
return "RebootToOTA";
|
||||
case RestartReason::ImportCompleted:
|
||||
return "ConfigImportCompleted";
|
||||
case RestartReason::DeviceUnpaired:
|
||||
return "DeviceUnpaired";
|
||||
case RestartReason::NukiHubReset:
|
||||
@@ -142,9 +148,11 @@ inline static String getEspRestartReason()
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NUKI_HUB_UPDATER
|
||||
inline bool rebuildGpio()
|
||||
{
|
||||
bool rebGpio = rebuildGpioRequested;
|
||||
rebuildGpioRequested = false;
|
||||
return restartReason_isValid && rebGpio;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user