ui: refresh sensors on gps toggle
This commit is contained in:
@@ -309,6 +309,7 @@ public:
|
|||||||
}
|
}
|
||||||
if (c == KEY_ENTER && _page == HomePage::SENSORS) {
|
if (c == KEY_ENTER && _page == HomePage::SENSORS) {
|
||||||
_task->toggleGPS();
|
_task->toggleGPS();
|
||||||
|
next_sensors_refresh=0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (c == KEY_ENTER && _page == HomePage::SHUTDOWN) {
|
if (c == KEY_ENTER && _page == HomePage::SHUTDOWN) {
|
||||||
|
|||||||
Reference in New Issue
Block a user