mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-12 01:25:59 +00:00
chore: weak CAN sys message handler uses STA_TACOS_CAN_BUS_SYS_MSG_ID constant
This commit is contained in:
parent
dd4c5f34a2
commit
de6615af95
@ -152,7 +152,7 @@ namespace sta {
|
|||||||
// This is a weak function that can be overridden by the user,
|
// 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 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);
|
STA_ASSERT(header.payloadLength == 2);
|
||||||
|
|
||||||
// First byte of payload is the origin state, second byte is the destination state. Transition is forced
|
// First byte of payload is the origin state, second byte is the destination state. Transition is forced
|
||||||
|
Loading…
x
Reference in New Issue
Block a user