mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-16 08:06:38 +00:00
uitask: screen and radio poweroff moved to board
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user