Update message ids

This commit is contained in:
Stefano Calabretti
2022-03-22 17:02:27 +01:00
parent 1386a58ab2
commit 7a7245307a
2 changed files with 62 additions and 43 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ bool MMR_CAN_IsMessageIdOfType(
uint8_t MMR_CAN_GetMessageIdType(MmrCanMessageId msgId) {
return msgId >> 7;
return msgId >> 5;
}
uint8_t MMR_CAN_GetMessageIdSubtype(MmrCanMessageId msgId) {
return msgId & B8_(0111, 1111);
return msgId & B8_(0001, 1111);
}