uitask: screen and radio poweroff moved to board

This commit is contained in:
Florent committed 2026-07-17 08:29:31 -04:00
1 parent db32e3519d
commit 59d845c44d
4 files changed
-9

No files matched your search

-2
View File
@@ -146,8 +146,6 @@ void UITask::loop() {
digitalWrite(LED_PIN, LED_STATE_ON); // switch on the led until poweroff
#endif
if (millis() > _powering_off_at) {
_display->turnOff();
radio_driver.powerOff();
_board->powerOff(); // should not return
}
}