AP_GPS: build SBF driver with double precision

This commit is contained in:
Andrew Tridgell 2020-08-27 13:06:53 +10:00
parent 24425b4155
commit 56b743dfca
2 changed files with 4 additions and 2 deletions

View File

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

4
libraries/AP_GPS/wscript Normal file
View File

@ -0,0 +1,4 @@
# SBF driver needs double precision
def configure(cfg):
cfg.env.DOUBLE_PRECISION_SOURCES['AP_GPS'] = ['AP_GPS_SBF.cpp']