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 79c2b310b5
commit 92b707c19c

View File

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