mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-06 09:37:34 +00:00
Refactor CAN bus message queuing to pass by value
This commit is contained in:
@@ -79,7 +79,7 @@ namespace sta
|
||||
}
|
||||
}
|
||||
|
||||
bool CanBus::queueCanBusMsg(const CanSysMsg &msg, uint32_t timeout)
|
||||
bool CanBus::queueCanBusMsg(const CanSysMsg msg, uint32_t timeout)
|
||||
{
|
||||
// This technically should check if we are using a system message, but we just pretending that everything is one of those rn
|
||||
// STA_ASSERT((msg.header.sid & ~STA_CAN_SID_SYS_BITS) == 0);
|
||||
|
Reference in New Issue
Block a user