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