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:
@@ -236,6 +236,9 @@ static inline uint16_t can_output_shaft_rpm(uint16_t raw) {
|
||||
// calls it an engine-running flag with 0x09=running — BOTH ARE WRONG FOR US.
|
||||
// Verified on this bus 2026-07-17: it tracks IGNITION, inverted, and does not
|
||||
// move when the engine starts. Use 0x1D0 ST_ENGINE_RUN for engine state.
|
||||
// Although 0x3B4 is nominally a 5 s periodic message, it ALSO transmits
|
||||
// on-change: the ignition nibble flips instantly when the key toggles (user-
|
||||
// verified), so an ignition-driven reset is effectively immediate.
|
||||
#define CAN_BYTE_IGNITION 2
|
||||
#define IGNITION_ON 0x00
|
||||
#define IGNITION_OFF 0x09
|
||||
|
||||
Reference in New Issue
Block a user