mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Old saves (without sentinel) load unchanged — rd() lambda zero-inits anything not on disk. New saves append a 4-byte sentinel that encodes the schema revision; the low byte is bumped on every layout change in loadPrefsInt/savePrefs. Mismatch on load logs a warning and continues with defaults; the next savePrefs writes the current sentinel so the file self-heals. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>