From 1b0670e67c9f016d508feea8cfa5e541f0c01380 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 2 Jan 2013 12:51:10 +1100 Subject: [PATCH] AHRS: fixup for ARM compiler --- libraries/AP_AHRS/AP_AHRS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_AHRS/AP_AHRS.h b/libraries/AP_AHRS/AP_AHRS.h index 9c6fee20f0..10acceca3a 100644 --- a/libraries/AP_AHRS/AP_AHRS.h +++ b/libraries/AP_AHRS/AP_AHRS.h @@ -199,7 +199,7 @@ protected: Vector3f _accel_ef; // acceleration due to gravity in m/s/s - static const float _gravity = 9.80665; + static constexpr float _gravity = 9.80665; };