mirror of
https://github.com/Colorado-Mesh/meshcore-bot-firmware.git
synced 2026-08-11 08:10:29 +00:00
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.