ui: ENTER on SENSORS page toggles gps
This commit is contained in:
1 parent
2d651221c4
commit
f974cb2a4f
1 file changed
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user