mirror of https://github.com/ArduPilot/ardupilot
Copter: add parenthesis around ntun log bitmask
Resolves one compiler warning
This commit is contained in:
parent
6f60ce3d6e
commit
b6ef3dc5d7
|
@ -1083,7 +1083,7 @@ static void ten_hz_logging_loop()
|
|||
if (g.log_bitmask & MASK_LOG_RCOUT) {
|
||||
DataFlash.Log_Write_RCOUT();
|
||||
}
|
||||
if (g.log_bitmask & MASK_LOG_NTUN && mode_requires_GPS(control_mode)) {
|
||||
if ((g.log_bitmask & MASK_LOG_NTUN) && mode_requires_GPS(control_mode)) {
|
||||
Log_Write_Nav_Tuning();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue