mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
refactor(prefs): 2.0 settings layout -- fields in their sections, rc1 conversion and dead font flag gone
PREFS_VERSION 2: settings saved by 2.0-rc1..rc3 are not read, the device starts from the defaults (v1.x /new_prefs is still imported as before). The fields appended at the end during the rc cycle move into their sections (BLE off, battery curve, text/icon size, message alert, advert position precision, lock screen look). ch_scope_follow and its rc1 conversion and the unused use_lemon_font are removed. Stale comments in NodePrefs.h and Trail.h fixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,8 +55,7 @@ public:
|
||||
|
||||
// Fixed sampling cadence — matches the sensor manager's default GPS update
|
||||
// rate (1 s). Density is controlled by the min-delta gate (settings) rather
|
||||
// than by throttling the GPS poll. The NodePrefs::trail_interval_idx field
|
||||
// is retained as reserved for backwards compatibility but no longer used.
|
||||
// than by throttling the GPS poll.
|
||||
static const uint16_t SAMPLING_SECS = 1;
|
||||
|
||||
// Min-delta (metres) gates samples too close to the previous one.
|
||||
|
||||
Reference in New Issue
Block a user