ui_task: let user choose if enter in gps screen toggles or triggers gps

This commit is contained in:
Florent committed 2026-11-08 08:47:35 -04:00
1 parent 6b34ae96df
commit b2e46335e5
5 files changed
+43 -1

No files matched your search

+14
View File
@@ -452,6 +452,20 @@ Radio parameters are common to all roles and handled by `CommonRadioPrefs`.
---
#### GPS key action
**Usage:**
- `set ui.gps_action <action>`
- `get ui.gps_action`
**Parameters:**
- `action`: `toggle` (or `0`) to switch the GPS on and off, `once` (or `trigger`, `1`) to acquire a fix on demand, as `gps once`
**Default:** `toggle`, or `once` on boards with a GPS switch
**Note:** Only used by the `ui-new` screens for now.
---
#### Node discovery screen shows nodes names
**Usage:**
- `set ui.nd_name <state>`