ui: ENTER on SENSORS page toggles gps

This commit is contained in:
Florent de Lamotte
2025-09-05 15:32:02 +02:00
parent 2d651221c4
commit f974cb2a4f

View File

@@ -307,6 +307,10 @@ public:
}
return true;
}
if (c == KEY_ENTER && _page == HomePage::SENSORS) {
_task->toggleGPS();
return true;
}
if (c == KEY_ENTER && _page == HomePage::SHUTDOWN) {
_shutdown_init = true; // need to wait for button to be released
return true;