mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
UITask: when a key is pressed while the buzzer is playing, defer the next screen refresh by 300 ms instead of triggering it immediately (via _next_refresh = 100). The blocking e-ink endFrame() was extending the first note by the full refresh duration (~150-200 ms). Subsequent notes were unaffected because _next_refresh was already future-dated after the first render. DataStore: for builds where JOYSTICK_ROTATION is not defined and FEAT_JOYSTICK_ROTATION_SETTING is 0 (OLED), always reset joystick_rotation to 0 on prefs load. Without this, stale e-ink prefs (which allow changing joystick rotation in Settings) could silently leave a non-zero value that reversed all joystick directions on OLED. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>