mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: stop passing serialmanager into beacon constructor
This commit is contained in:
parent
39b7f63140
commit
cb46764bad
|
@ -1134,7 +1134,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
|
||||||
ParametersG2::ParametersG2(void)
|
ParametersG2::ParametersG2(void)
|
||||||
: temp_calibration() // this doesn't actually need constructing, but removing it here is problematic syntax-wise
|
: temp_calibration() // this doesn't actually need constructing, but removing it here is problematic syntax-wise
|
||||||
#if BEACON_ENABLED == ENABLED
|
#if BEACON_ENABLED == ENABLED
|
||||||
, beacon(copter.serial_manager)
|
, beacon()
|
||||||
#endif
|
#endif
|
||||||
#if HAL_PROXIMITY_ENABLED
|
#if HAL_PROXIMITY_ENABLED
|
||||||
, proximity()
|
, proximity()
|
||||||
|
|
Loading…
Reference in New Issue