Copter: stop passing serial manager to proximity constructor

This commit is contained in:
Peter Barker 2019-09-27 18:23:07 +10:00 committed by Randy Mackay
parent 4962b7a98e
commit 2a312aa8f1

View File

@ -1010,7 +1010,7 @@ ParametersG2::ParametersG2(void)
, beacon(copter.serial_manager) , beacon(copter.serial_manager)
#endif #endif
#if PROXIMITY_ENABLED == ENABLED #if PROXIMITY_ENABLED == ENABLED
, proximity(copter.serial_manager) , proximity()
#endif #endif
#if ADVANCED_FAILSAFE == ENABLED #if ADVANCED_FAILSAFE == ENABLED
,afs(copter.mode_auto.mission) ,afs(copter.mode_auto.mission)