mirror of https://github.com/ArduPilot/ardupilot
AP_GPS: build SBF driver with double precision
This commit is contained in:
parent
24425b4155
commit
56b743dfca
|
@ -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>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
# SBF driver needs double precision
|
||||
def configure(cfg):
|
||||
cfg.env.DOUBLE_PRECISION_SOURCES['AP_GPS'] = ['AP_GPS_SBF.cpp']
|
Loading…
Reference in New Issue