mirror of
https://github.com/Colorado-Mesh/meshcore-bot-firmware.git
synced 2026-08-11 08:10:29 +00:00
forge: patch 6 fix — apply auto-overwrite default after loadPrefs
Move the AUTO_ADD_OVERWRITE_OLDEST assignment to after _store->loadPrefs() so existing bots with autoadd_config=0 saved on flash get the bit set on every boot. Previously the assignment was in the constructor (before load), so loadPrefs() would overwrite our default with the persisted zero, meaning the fix only took effect on factory-fresh prefs.
This commit is contained in:
2
vendor/MeshCore
vendored
2
vendor/MeshCore
vendored
Submodule vendor/MeshCore updated: 3b4aeb8526...2252de4e49
Reference in New Issue
Block a user