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
sjlongland 2015-09-27 04:23:30 +00:00
parent 4c998da948
commit 6335d0af6c

Diff Content Not Available