Copter: stop setting beacon in AHRS

This commit is contained in:
Peter Barker 2019-06-27 11:56:56 +10:00 committed by Randy Mackay
parent ee4e876fd7
commit 478c62b5ac
1 changed files with 0 additions and 5 deletions

View File

@ -128,11 +128,6 @@ void Copter::init_ardupilot()
*/
hal.scheduler->register_timer_failsafe(failsafe_check_static, 1000);
#if BEACON_ENABLED == ENABLED
// give AHRS the range beacon sensor
ahrs.set_beacon(&g2.beacon);
#endif
// Do GPS init
gps.set_log_gps_bit(MASK_LOG_GPS);
gps.init(serial_manager);