Copter: AP_TempCalibration does not take reference to ins

This commit is contained in:
Peter Barker 2018-03-16 16:31:23 +11:00 committed by Lucas De Marchi
parent 622be10163
commit 52882d11fa
1 changed files with 1 additions and 1 deletions

View File

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