diff --git a/src/can_bus.cpp b/src/can_bus.cpp index f870201..529581b 100644 --- a/src/can_bus.cpp +++ b/src/can_bus.cpp @@ -152,7 +152,7 @@ namespace sta { // This is a weak function that can be overridden by the user, // if they want to handle system messages in a different way, i.e. ignore them - if(header.sid == 0x0){ + if(header.sid == STA_TACOS_CAN_BUS_SYS_MSG_ID){ STA_ASSERT(header.payloadLength == 2); // First byte of payload is the origin state, second byte is the destination state. Transition is forced