From bf6e1993a19e166d51ac0f5a51b037245df2d5f9 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 11 Apr 2018 11:31:17 +0900 Subject: [PATCH] Copter: resolve compiler warning re temp_calibration init order --- ArduCopter/Parameters.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArduCopter/Parameters.h b/ArduCopter/Parameters.h index e2f709161a..0047a6dfd3 100644 --- a/ArduCopter/Parameters.h +++ b/ArduCopter/Parameters.h @@ -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