Copter: resolve compiler warning re temp_calibration init order

This commit is contained in:
Randy Mackay 2018-04-11 11:31:17 +09:00
parent ac9d5f8a5c
commit bf6e1993a1
1 changed files with 3 additions and 3 deletions

View File

@ -521,6 +521,9 @@ public:
// ground effect compensation enable/disable
AP_Int8 gndeffect_comp_enabled;
// temperature calibration handling
AP_TempCalibration temp_calibration;
#if BEACON_ENABLED == ENABLED
// beacon (non-GPS positioning) library
AP_Beacon beacon;
@ -579,9 +582,6 @@ public:
// Land alt final stage
AP_Int16 land_alt_low;
// temperature calibration handling
AP_TempCalibration temp_calibration;
#if TOY_MODE_ENABLED == ENABLED
ToyMode toy_mode;
#endif