Copter: add parenthesis around ntun log bitmask

Resolves one compiler warning
This commit is contained in:
Randy Mackay 2014-07-15 11:13:44 +09:00
parent 6f60ce3d6e
commit b6ef3dc5d7
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}