Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fitness App: Make stored steps sample smaller as it passed max settin… #368

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

jakkra
Copy link
Owner

@jakkra jakkra commented Oct 29, 2024

…g size.

struct rtc_time use int for all members, but this is not needed. Introduce a minimized variant of sample time. Now consumes much less bytes per step sample.

…g size.

struct rtc_time use int for all members, but this is not needed. Introduce a minimized variant of sample time.
Now consumes much less bytes per step sample.
When using NVS as settings backend the stored data can't exceed the page size. Add an assert for this.
@jakkra jakkra merged commit 640ed84 into main Oct 29, 2024
11 checks passed
@jakkra jakkra deleted the jakkra_fitness_storage branch October 29, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant