aboutsummaryrefslogtreecommitdiffstats
path: root/fw/can.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-11-01 18:40:37 -0400
committerSam Anthony <sam@samanthony.xyz>2025-11-01 18:40:37 -0400
commit96a85a2bb8e52cb8b15745bca617e3cc788d02ad (patch)
treee7d95155898e25659a7020724892d71b0b970948 /fw/can.h
parent0debe2b2b20818a6899c0635847306d75f86f978 (diff)
downloadcan-gauge-interface-96a85a2bb8e52cb8b15745bca617e3cc788d02ad.zip
extract signal from received frames
Diffstat (limited to 'fw/can.h')
-rw-r--r--fw/can.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fw/can.h b/fw/can.h
index 621b20f..37c6bc7 100644
--- a/fw/can.h
+++ b/fw/can.h
@@ -113,3 +113,6 @@ void canSetFilter4(const CanId *filter);
// Set message acceptance filter 5 (RXB1).
// The MCP2515 must be in Config mode.
void canSetFilter5(const CanId *filter);
+
+// Compare two CAN IDs.
+bool canIdEq(const CanId *a, const CanId *b);