Note 0x3B4 ignition nibble is on-change (instant), not 5 s lag

User-verified: 0x3B4's ignition nibble flips the instant the key toggles, even
though the message is nominally 5 s periodic - it transmits on-change too. So
the ignition-off screen reset is effectively immediate, correcting the earlier
assumption that it could lag by a few seconds. Comment/doc only, no logic change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-17 18:39:35 +02:00
parent 894178e7f0
commit 8c9ee2cde2
3 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -320,7 +320,8 @@ void tick() {
// Blank every readout when there's nothing live to show: CAN off, or the key
// is off. The user asked for a full reset on ignition-off so the screen goes
// quiet with the car rather than freezing the last frame.
// quiet with the car rather than freezing the last frame. 0x3B4 sends its
// ignition nibble on-change, so this reset is effectively instant.
if (!can_up || !dl.ignition_on) {
lv_label_set_text(g_gear_lbl, "--");
lv_label_set_text(g_coolant_lbl, "--");