Skip to content

Refactor to use NVS over Preferences library#548

Merged
JanPetterMG merged 3 commits intomainfrom
chore/preferences
Apr 26, 2026
Merged

Refactor to use NVS over Preferences library#548
JanPetterMG merged 3 commits intomainfrom
chore/preferences

Conversation

@JanPetterMG
Copy link
Copy Markdown
Collaborator

@JanPetterMG JanPetterMG commented Apr 26, 2026

Refactor code to eliminate dependencies on the Preferences library, enhancing modularity and maintainability.
Touched classes also includes miscallous, but purely mechanical refactoring.

Key changes

  • Replaced Preferences library usage with NVS (Non-Volatile Storage) for data handling.
  • Updated various modes and extensions to use static inline variables for improved performance.
  • Adjusted method signatures for consistency and clarity.

Impact

These changes streamline the codebase, potentially improving performance and reducing complexity. Users may notice improved reliability in data handling, while contributors benefit from a cleaner architecture that simplifies future development.

@JanPetterMG JanPetterMG added this to the v2.4.0 milestone Apr 26, 2026
@JanPetterMG JanPetterMG added firmware C++ related chore This issue or pull request is a maintenance task labels Apr 26, 2026
@JanPetterMG JanPetterMG marked this pull request as ready for review April 26, 2026 01:21
@JanPetterMG JanPetterMG added this pull request to the merge queue Apr 26, 2026
Merged via the queue into main with commit ebf04a1 Apr 26, 2026
199 of 203 checks passed
@JanPetterMG JanPetterMG deleted the chore/preferences branch April 26, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore This issue or pull request is a maintenance task firmware C++ related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant