sm1000_main: Store two copies of the settings.
We keep a rolling serial number (64-bit, so probably flash will wear out before rollover happens) that is incremented on each write, and we write to the oldest image in flash. On load, we pick the newest one that's valid.pull/2/head
parent
4c998da948
commit
6335d0af6c