mirror of https://github.com/ArduPilot/ardupilot
error on comparison operator
This commit is contained in:
parent
84937b4f69
commit
a087d84734
|
@ -39,7 +39,7 @@ static void update_commands()
|
|||
//uint8_t tmp = g.command_index.get();
|
||||
//Serial.printf("command_index %u \n", tmp);
|
||||
|
||||
if (g.command_total <= 1 || g.command_index > 127)
|
||||
if (g.command_total <= 1 || g.command_index >= 127)
|
||||
return;
|
||||
|
||||
if(command_nav_queue.id == NO_COMMAND){
|
||||
|
|
Loading…
Reference in New Issue