Browse Source

ArduCopter: stop passing serialmanager into beacon constructor

apm_2208
Peter Barker 3 years ago committed by Peter Barker
parent
commit
cb46764bad
  1. 2
      ArduCopter/Parameters.cpp

2
ArduCopter/Parameters.cpp

@ -1134,7 +1134,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = { @@ -1134,7 +1134,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
ParametersG2::ParametersG2(void)
: temp_calibration() // this doesn't actually need constructing, but removing it here is problematic syntax-wise
#if BEACON_ENABLED == ENABLED
, beacon(copter.serial_manager)
, beacon()
#endif
#if HAL_PROXIMITY_ENABLED
, proximity()

Loading…
Cancel
Save