fix opcode decode

This commit is contained in:
Matthew Kennedy 2020-12-12 14:32:03 -08:00
parent e33889ef14
commit 9831facfc7
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void RunBootloaderLoop()
continue; continue;
} }
uint8_t opcode = (frame.EID >> 16) & 0xFF; uint8_t opcode = (frame.EID >> 16) & 0x0F;
uint16_t embeddedData = frame.EID & 0xFFFF; uint16_t embeddedData = frame.EID & 0xFFFF;
switch (opcode) { switch (opcode) {