ui: ENTER on SENSORS page toggles gps
This commit is contained in:
@@ -307,6 +307,10 @@ public:
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (c == KEY_ENTER && _page == HomePage::SENSORS) {
|
||||||
|
_task->toggleGPS();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (c == KEY_ENTER && _page == HomePage::SHUTDOWN) {
|
if (c == KEY_ENTER && _page == HomePage::SHUTDOWN) {
|
||||||
_shutdown_init = true; // need to wait for button to be released
|
_shutdown_init = true; // need to wait for button to be released
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user