diff --git a/firmware/bootloader/bootloader.cpp b/firmware/bootloader/bootloader.cpp index fa90dee..0855e82 100644 --- a/firmware/bootloader/bootloader.cpp +++ b/firmware/bootloader/bootloader.cpp @@ -128,7 +128,7 @@ void RunBootloaderLoop() continue; } - uint8_t opcode = (frame.EID >> 16) & 0xFF; + uint8_t opcode = (frame.EID >> 16) & 0x0F; uint16_t embeddedData = frame.EID & 0xFFFF; switch (opcode) {