From b614b41d6d8922ac233ebff55cec2cf8b5177ac6 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Mon, 5 Dec 2016 16:46:55 -0800 Subject: [PATCH] AP_TECS: fixed compiler warning - AP_Landing _landing was declared out-of-order --- libraries/AP_TECS/AP_TECS.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_TECS/AP_TECS.h b/libraries/AP_TECS/AP_TECS.h index dcd27dc848..58a4fba091 100644 --- a/libraries/AP_TECS/AP_TECS.h +++ b/libraries/AP_TECS/AP_TECS.h @@ -125,11 +125,11 @@ private: // reference to the AHRS object AP_AHRS &_ahrs; + const AP_Vehicle::FixedWing &aparm; + // reference to const AP_Landing to access it's params const AP_Landing &_landing; - const AP_Vehicle::FixedWing &aparm; - // TECS tuning parameters AP_Float _hgtCompFiltOmega; AP_Float _spdCompFiltOmega;