mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 02:48:28 -04:00
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();
|
//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
Block a user