From 4158981e549db6c5cc626cfd6d244c85485f5612 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 7 Nov 2025 10:33:58 -0500 Subject: respond to Signal Control REMOTE FRAME --- fw/serial.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fw/serial.h') diff --git a/fw/serial.h b/fw/serial.h index 5a6b495..b071038 100644 --- a/fw/serial.h +++ b/fw/serial.h @@ -34,9 +34,9 @@ Status serReadCanId(EepromAddr addr, CanId *id); // SigFmts use 8 bytes of space. // The ID is stored little-endian in the first 4 bytes: 0--3. // Start and Size occupy bytes 4 and 5. -// The Byte-order and Signedness flags are bits 0 and 1 of byte 6, respectively. -// Byte order: [6][0] = {0=>LE, 1=>BE}. -// Signedness: [6][1] = {0=>unsigned, 1=>signed}. +// The Byte-order and Signedness flags are bits 7 and 6 of byte 6, respectively. +// Byte order: [6][7] = {0=>LE, 1=>BE}. +// Signedness: [6][6] = {0=>unsigned, 1=>signed}. // Byte 7 is unused -- it's for alignment. Status serWriteSigFmt(EepromAddr addr, const SigFmt *sig); -- cgit v1.2.3