Skip to content

Conversation

@mark9064
Copy link
Member

@mark9064 mark9064 commented Jan 6, 2026

Persist current steps, trip steps and time across reboots with an easily extendable struct for persisting more data in the future.

I've spent a lot of time reading, and I'm pretty sure now that the volatile semantics here are now correct. This means that loading values after reboot should be much more reliable since the compiler is aware that the memory used has special semantics.

Fixes #2293

@mark9064 mark9064 added this to the 1.17.0 milestone Jan 6, 2026
@mark9064 mark9064 added the enhancement Enhancement to an existing app/feature label Jan 6, 2026
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

Build size and comparison to main:

Section Size Difference
text 385312B 80B
data 944B 0B
bss 22656B 16B

Run in InfiniEmu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement to an existing app/feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rebooting a watch resets the number of steps to 0

1 participant