board->powerOff() is sufficient to power off radio, display, GPS and components

This commit is contained in:
Kevin Le
2026-07-05 21:22:13 +07:00
parent 73b7367e45
commit 7d7de88707
3 changed files with 3 additions and 5 deletions
+1 -2
View File
@@ -697,8 +697,7 @@ void UITask::shutdown(bool restart){
if (restart) { if (restart) {
_board->reboot(); _board->reboot();
} else { } else {
_display->turnOff(); // Power off board including radio, display, GPS and components
radio_driver.powerOff();
_board->powerOff(); _board->powerOff();
} }
} }
+1 -1
View File
@@ -307,7 +307,7 @@ void UITask::shutdown(bool restart){
if (restart) { if (restart) {
_board->reboot(); _board->reboot();
} else { } else {
radio_driver.powerOff(); // Power off board including radio, display, GPS and components
_board->powerOff(); _board->powerOff();
} }
} }
+1 -2
View File
@@ -566,8 +566,7 @@ void UITask::shutdown(bool restart){
if (restart) { if (restart) {
_board->reboot(); _board->reboot();
} else { } else {
_display->turnOff(); // Power off board including radio, display, GPS and components
radio_driver.powerOff();
_board->powerOff(); _board->powerOff();
} }
} }