Add GPS configuration to NodePrefs structure and persist the GPS
enabled state when toggled via UI. This ensures GPS settings are
retained across device restarts.
このコミットが含まれているのは:
csrutil
2025-11-29 16:37:23 +08:00
コミット c641beabd3
4個のファイルの変更16行の追加0行の削除
+2
ファイルの表示
@@ -25,4 +25,6 @@ struct NodePrefs { // persisted to file
uint32_t ble_pin;
uint8_t advert_loc_policy;
uint8_t buzzer_quiet;
uint8_t gps_enabled; // GPS enabled flag (0=disabled, 1=enabled)
uint32_t gps_interval; // GPS read interval in seconds
};