Skip to content
Commit d09e1d6e authored by Thomas Stranger's avatar Thomas Stranger Committed by Alberto Escolar
Browse files

samples: boards: stm32: backup_sram: add magic value



Stores a magic value togetter with the counter value, and resets the
counter in case that magic does not match.
A small magic value is not ideal, but should be good enough for the
sample and avoids pulling in a additional dependency e.g. on crc.

Signed-off-by: default avatarThomas Stranger <thomas.stranger@outlook.com>
parent cc36e403
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment