mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: remove check for enabled in for Log_Write_Beacon
The DataFlash library does this now
This commit is contained in:
parent
e74d07ff15
commit
2d31a7b318
@ -356,9 +356,7 @@ void Copter::ten_hz_logging_loop()
|
||||
DataFlash.Log_Write_Proximity(g2.proximity); // Write proximity sensor distances
|
||||
#endif
|
||||
#if BEACON_ENABLED == ENABLED
|
||||
if (g2.beacon.enabled()) {
|
||||
DataFlash.Log_Write_Beacon(g2.beacon);
|
||||
}
|
||||
DataFlash.Log_Write_Beacon(g2.beacon);
|
||||
#endif
|
||||
}
|
||||
#if FRAME_CONFIG == HELI_FRAME
|
||||
|
Loading…
Reference in New Issue
Block a user