fix: review pass - storage unmount timeout, nav dial animates, dial text room, nearby name width, Simpson Enter with another key, GPS chip

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-26 10:12:56 +01:00
co-authored by Claude Sonnet 5.5
parent e03fa7c084
commit 2ae55e97ac
6 changed files with 13 additions and 5 deletions
+6
View File
@@ -67,6 +67,12 @@ uint8_t SimpsonKeypad::poll() {
_enter_long_sent = false;
return SIMPSON_KEY_NONE;
}
if (key != SIMPSON_KEY_ENTER && _last_key == SIMPSON_KEY_ENTER && !_enter_long_sent) {
// Another key arrived with Enter still down: the Enter counts now, the key on the next poll.
_last_key = SIMPSON_KEY_NONE;
_enter_pressed_at = 0;
return SIMPSON_KEY_ENTER;
}
if (key == SIMPSON_KEY_ENTER && _last_key == SIMPSON_KEY_ENTER) {
if (!_enter_long_sent && millis() - _enter_pressed_at >= SIMPSON_LONG_PRESS_MS) {
_enter_long_sent = true;