mirror of https://github.com/rusefi/wideband.git
fix opcode decode
This commit is contained in:
parent
e33889ef14
commit
9831facfc7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue