From 6901c56a2e2d5054a7e80301f6945a93bb0125f8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 2 Jan 2013 12:54:23 +1100 Subject: [PATCH] yaw fixup --- libraries/APM_Control/AP_YawController.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/APM_Control/AP_YawController.h b/libraries/APM_Control/AP_YawController.h index 55a7df9769..d636a4578b 100644 --- a/libraries/APM_Control/AP_YawController.h +++ b/libraries/APM_Control/AP_YawController.h @@ -42,7 +42,7 @@ private: // Low pass filter cut frequency for derivative calculation. // FCUT macro computes a frequency cut based on an acceptable delay. #define FCUT(d) (1 / ( 2 * 3.14 * (d) ) ) - static constexpr float _fCut = FCUT(.5); + const float _fCut = FCUT(.5); }; #endif // __AP_YAW_CONTROLLER_H__