Fix nRF52 idle sleep event and CryptoCell handling
This commit is contained in:
1 parent
756d887bad
commit
629557fcfe
22 files changed
+1767
-20
No files matched your search
@@ -4086,6 +4086,9 @@ static bool usbLoggingRecoverySafe(void*) {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
#if defined(NRF52_PLATFORM)
|
||||
board.prepareSleepCycle();
|
||||
#endif
|
||||
#if defined(RP2040_PLATFORM) && defined(ENABLE_WIFI_INTERFACE)
|
||||
if (pico_wifi_active && WiFi.status() != WL_CONNECTED
|
||||
&& static_cast<uint32_t>(millis() - last_wifi_reconnect_attempt)
|
||||
|
||||
@@ -579,6 +579,9 @@ static bool usbLoggingRecoverySafe(void*) {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
#if defined(NRF52_PLATFORM)
|
||||
board.prepareSleepCycle();
|
||||
#endif
|
||||
mesh::serviceUsbLoggingPort();
|
||||
mesh::wireless::control().service(millis());
|
||||
#if defined(NRF52_PLATFORM)
|
||||
|
||||
@@ -298,6 +298,9 @@ static bool usbLoggingRecoverySafe(void*) {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
#if defined(NRF52_PLATFORM)
|
||||
board.prepareSleepCycle();
|
||||
#endif
|
||||
mesh::serviceUsbLoggingPort();
|
||||
mesh::wireless::control().service(millis());
|
||||
#if defined(NRF52_PLATFORM)
|
||||
|
||||
@@ -275,6 +275,9 @@ static bool usbLoggingRecoverySafe(void*) {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
#if defined(NRF52_PLATFORM)
|
||||
board.prepareSleepCycle();
|
||||
#endif
|
||||
mesh::serviceUsbLoggingPort();
|
||||
#if defined(NRF52_PLATFORM)
|
||||
board.feedWatchdog(the_mesh.getNodePrefs()->system_watchdog_enabled != 0);
|
||||
|
||||
Reference in new issue
Block a user