Copter: resolve compiler warning re temp_calibration init order
This commit is contained in:
parent
ac9d5f8a5c
commit
bf6e1993a1
@ -521,6 +521,9 @@ public:
|
|||||||
// ground effect compensation enable/disable
|
// ground effect compensation enable/disable
|
||||||
AP_Int8 gndeffect_comp_enabled;
|
AP_Int8 gndeffect_comp_enabled;
|
||||||
|
|
||||||
|
// temperature calibration handling
|
||||||
|
AP_TempCalibration temp_calibration;
|
||||||
|
|
||||||
#if BEACON_ENABLED == ENABLED
|
#if BEACON_ENABLED == ENABLED
|
||||||
// beacon (non-GPS positioning) library
|
// beacon (non-GPS positioning) library
|
||||||
AP_Beacon beacon;
|
AP_Beacon beacon;
|
||||||
@ -579,9 +582,6 @@ public:
|
|||||||
// Land alt final stage
|
// Land alt final stage
|
||||||
AP_Int16 land_alt_low;
|
AP_Int16 land_alt_low;
|
||||||
|
|
||||||
// temperature calibration handling
|
|
||||||
AP_TempCalibration temp_calibration;
|
|
||||||
|
|
||||||
#if TOY_MODE_ENABLED == ENABLED
|
#if TOY_MODE_ENABLED == ENABLED
|
||||||
ToyMode toy_mode;
|
ToyMode toy_mode;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user