Skip to content

Commit

Permalink
Tracker: use compass singleton for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and OXINARF committed Jul 4, 2018
1 parent 4502fd2 commit c0fac91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AntennaTracker/sensors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
}
Expand Down

0 comments on commit c0fac91

Please sign in to comment.