From 53d36c02aeb56b0f3bea818e93fd65b2d30fb9f3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 May 2018 11:19:07 +1000 Subject: [PATCH] AP_GPS: enable double precision maths where needed --- libraries/AP_GPS/AP_GPS_GSOF.cpp | 2 ++ libraries/AP_GPS/AP_GPS_SBF.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libraries/AP_GPS/AP_GPS_GSOF.cpp b/libraries/AP_GPS/AP_GPS_GSOF.cpp index 43fd72c562..3026e5791f 100644 --- a/libraries/AP_GPS/AP_GPS_GSOF.cpp +++ b/libraries/AP_GPS/AP_GPS_GSOF.cpp @@ -18,6 +18,8 @@ // Code by Michael Oborne // +#define ALLOW_DOUBLE_MATH_FUNCTIONS + #include "AP_GPS.h" #include "AP_GPS_GSOF.h" #include diff --git a/libraries/AP_GPS/AP_GPS_SBF.cpp b/libraries/AP_GPS/AP_GPS_SBF.cpp index 641c219ea8..e086ea878f 100644 --- a/libraries/AP_GPS/AP_GPS_SBF.cpp +++ b/libraries/AP_GPS/AP_GPS_SBF.cpp @@ -18,6 +18,8 @@ // Code by Michael Oborne // +#define ALLOW_DOUBLE_MATH_FUNCTIONS + #include "AP_GPS.h" #include "AP_GPS_SBF.h" #include