mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Rover: made a bit test clearer
This commit is contained in:
parent
c612b4ad73
commit
f50fe7a77a
@ -72,7 +72,7 @@ static void set_cmd_with_index(struct Location temp, int i)
|
||||
|
||||
// Set altitude options bitmask
|
||||
// XXX What is this trying to do?
|
||||
if (temp.options & MASK_OPTIONS_RELATIVE_ALT && i != 0){
|
||||
if ((temp.options & MASK_OPTIONS_RELATIVE_ALT) && i != 0){
|
||||
temp.options = MASK_OPTIONS_RELATIVE_ALT;
|
||||
} else {
|
||||
temp.options = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user