Tracker: use compass singleton for logging

This commit is contained in:
Peter Barker 2018-06-25 21:58:31 +10:00 committed by Francisco Ferreira
parent 4502fd21c3
commit c0fac91110
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ void Tracker::update_compass(void)
if (g.compass_enabled && compass.read()) {
ahrs.set_compass(&compass);
if (should_log(MASK_LOG_COMPASS)) {
DataFlash.Log_Write_Compass(compass);
DataFlash.Log_Write_Compass();
}
}
}