Browse Source

AP_GPS: enable double precision maths where needed

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
53d36c02ae
  1. 2
      libraries/AP_GPS/AP_GPS_GSOF.cpp
  2. 2
      libraries/AP_GPS/AP_GPS_SBF.cpp

2
libraries/AP_GPS/AP_GPS_GSOF.cpp

@ -18,6 +18,8 @@ @@ -18,6 +18,8 @@
// Code by Michael Oborne
//
#define ALLOW_DOUBLE_MATH_FUNCTIONS
#include "AP_GPS.h"
#include "AP_GPS_GSOF.h"
#include <DataFlash/DataFlash.h>

2
libraries/AP_GPS/AP_GPS_SBF.cpp

@ -18,6 +18,8 @@ @@ -18,6 +18,8 @@
// Code by Michael Oborne
//
#define ALLOW_DOUBLE_MATH_FUNCTIONS
#include "AP_GPS.h"
#include "AP_GPS_SBF.h"
#include <DataFlash/DataFlash.h>

Loading…
Cancel
Save