Browse Source

ui: ENTER on SENSORS page toggles gps

pull/739/head
Florent de Lamotte 9 months ago
parent
commit
f974cb2a4f
  1. 4
      examples/companion_radio/ui-new/UITask.cpp

4
examples/companion_radio/ui-new/UITask.cpp

@ -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;

Loading…
Cancel
Save