ArduCopter: move logging of Beacon into Beacon library

This commit is contained in:
Peter Barker 2022-03-04 12:31:26 +11:00 committed by Peter Barker
parent e5c40d0e54
commit 39eca59938

View File

@ -540,7 +540,7 @@ void Copter::ten_hz_logging_loop()
g2.proximity.log(); // Write proximity sensor distances
#endif
#if BEACON_ENABLED == ENABLED
logger.Write_Beacon(g2.beacon);
g2.beacon.log();
#endif
}
#if FRAME_CONFIG == HELI_FRAME