diff --git a/firmware/bootloader/openblt_chibios/openblt_can.cpp b/firmware/bootloader/openblt_chibios/openblt_can.cpp index a882fbce68..79bbdae650 100644 --- a/firmware/bootloader/openblt_chibios/openblt_can.cpp +++ b/firmware/bootloader/openblt_chibios/openblt_can.cpp @@ -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;