mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 18:15:59 +00:00
Removed sys message bits from messages
This commit is contained in:
parent
1925a1668e
commit
a6704f4c45
@ -76,7 +76,7 @@ namespace sta
|
|||||||
{
|
{
|
||||||
CanTxHeader header;
|
CanTxHeader header;
|
||||||
header.id.format = static_cast<CanIdFormat>(msg.header.format);
|
header.id.format = static_cast<CanIdFormat>(msg.header.format);
|
||||||
header.id.sid = msg.header.sid & STA_CAN_SID_SYS_BITS;
|
header.id.sid = msg.header.sid;
|
||||||
header.id.eid = msg.header.eid;
|
header.id.eid = msg.header.eid;
|
||||||
header.payloadLength = msg.header.payloadLength;
|
header.payloadLength = msg.header.payloadLength;
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ namespace sta
|
|||||||
{
|
{
|
||||||
CanFrameId frameID;
|
CanFrameId frameID;
|
||||||
frameID.format = static_cast<CanIdFormat>(msg.header.format);
|
frameID.format = static_cast<CanIdFormat>(msg.header.format);
|
||||||
frameID.sid = msg.header.sid & ~STA_CAN_SID_SYS_BITS;
|
frameID.sid = msg.header.sid;
|
||||||
frameID.eid = msg.header.eid;
|
frameID.eid = msg.header.eid;
|
||||||
|
|
||||||
// Start transmission via ISO-TP
|
// Start transmission via ISO-TP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user