Sub: use compass singleton for logging

This commit is contained in:
Peter Barker 2018-06-25 21:57:49 +10:00 committed by Francisco Ferreira
parent ca264b1932
commit d183847aa3
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ void Sub::update_batt_compass()
compass.read();
// log compass information
if (should_log(MASK_LOG_COMPASS) && !ahrs.have_ekf_logging()) {
DataFlash.Log_Write_Compass(compass);
DataFlash.Log_Write_Compass();
}
}
}