mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
ui: ENTER on SENSORS page toggles gps
This commit is contained in:
parent
2d651221c4
commit
f974cb2a4f
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue