mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-10-09 03:06:39 +00:00
Every toggle / stepper wrote the prefs file straight away (0.1-0.6 s on the ESP32's SPIFFS), which stuttered the UI and wore the flash. prefsSave() now only marks them dirty; they're written once when the screen is left, when the display goes off, or after 60 s at the latest -- the L1's approach. Shutdown and the pre-restart OTA save still write immediately. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>