uitask: screen and radio poweroff moved to board
This commit is contained in:
1 parent
db32e3519d
commit
59d845c44d
4 files changed
-9
No files matched your search
@@ -566,8 +566,6 @@ void UITask::shutdown(bool restart){
|
||||
if (restart) {
|
||||
_board->reboot();
|
||||
} else {
|
||||
_display->turnOff();
|
||||
radio_driver.powerOff();
|
||||
// Power off board including radio, display, GPS and components
|
||||
_board->powerOff();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user