The RTC backup checksum covers every byte except the checksum itself, including a reserved packed byte that was never assigned. Its stack value could therefore make otherwise valid state fail verification after reset. Zero-initialize the complete backup image before assigning persisted fields so the checksum and reserved byte are deterministic.pull/165/head
parent
c97938697b
commit
ead2a0a7a3
Loading…
Reference in new issue