This commit is contained in:
andreika-git 2024-03-09 00:14:38 +02:00 committed by rusefillc
parent f9dff2bfc8
commit 01fa28c236
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ extern "C" blt_bool CanReceivePacket(blt_int8u *data, blt_int8u *len)
}
// Check that the ID type matches this frame (std vs ext)
constexpr bool configuredAsExt = (rxMsgId & 0x80000000) == 0;
constexpr bool configuredAsExt = (rxMsgId & 0x80000000) != 0;
if (configuredAsExt != frame.IDE) {
// Wrong frame type
return BLT_FALSE;