From e32ddaa7fa12d56cb72ac2fe480101405f8f8e80 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 4 Jan 2017 19:58:53 +0900 Subject: [PATCH] Copter: reorder beacon and proximity declaration resolves compiler warning --- ArduCopter/Parameters.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArduCopter/Parameters.h b/ArduCopter/Parameters.h index 679dd28aa3..7565e173cc 100644 --- a/ArduCopter/Parameters.h +++ b/ArduCopter/Parameters.h @@ -565,14 +565,14 @@ public: // ground effect compensation enable/disable AP_Int8 gndeffect_comp_enabled; + // beacon (non-GPS positioning) library + AP_Beacon beacon; + #if PROXIMITY_ENABLED == ENABLED // proximity (aka object avoidance) library AP_Proximity proximity; #endif - // beacon (non-GPS positioning) library - AP_Beacon beacon; - // whether to enforce acceptance of packets only from sysid_my_gcs AP_Int8 sysid_enforce;