bugfix rcommand.cpp (illegal commands chrash)
This commit is contained in:
parent
c1389427a1
commit
f659d18390
@ -267,10 +267,11 @@ void rcommand(uint8_t cmd[], uint8_t cmdlength) {
|
||||
TAG,
|
||||
"Remote command x%02X called with missing parameter(s), skipped",
|
||||
table[i].opcode);
|
||||
break; // exit table lookup loop, command was found
|
||||
} // command validation
|
||||
} // command table lookup loop
|
||||
|
||||
break; // command found -> exit table lookup loop
|
||||
} // end of command validation
|
||||
} // end of command table lookup loop
|
||||
if (i < 0) // command not found -> exit parser
|
||||
break;
|
||||
} // command parsing loop
|
||||
|
||||
if (storeflag)
|
||||
|
Loading…
Reference in New Issue
Block a user