Browse Source

AP_Math: fixed location build on SITL

mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
9278685cdf
  1. 3
      libraries/AP_Math/examples/location/Makefile
  2. 2
      libraries/AP_Math/examples/location/location.pde

3
libraries/AP_Math/examples/location/Makefile

@ -1,4 +1 @@ @@ -1,4 +1 @@
include ../../../../mk/apm.mk
sitl:
make -f ../../../../libraries/Desktop/Desktop.mk

2
libraries/AP_Math/examples/location/location.pde

@ -23,6 +23,8 @@ @@ -23,6 +23,8 @@
#include <AP_HAL_AVR_SITL.h>
#include <AP_HAL_Empty.h>
#include <AP_AHRS.h>
#include <SITL.h>
#include <AP_NavEKF.h>
#include <AP_Airspeed.h>
#include <AP_Vehicle.h>
#include <AP_ADC_AnalogSource.h>

Loading…
Cancel
Save