diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2495c1e..af388bd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -90,7 +90,7 @@ void loop() } } - if (millis() - lastActivity > SLEEP_TIME && !de::uvok::badge::ble_is_advertising()) + if (millis() - lastActivity > SLEEP_TIME && !de::uvok::badge::ble_is_active()) { // RTC watchdog might reset ??? - not sure when/how this happens... // (Happened with CPU@240MHz, not at 80 MHz yet?) |