Browse Source

AP_Math: fixed example build

master
Andrew Tridgell 11 years ago
parent
commit
c1dff6aa65
  1. 5
      libraries/AP_Math/examples/location/location.pde
  2. 4
      libraries/AP_Math/examples/rotations/rotations.pde

5
libraries/AP_Math/examples/location/location.pde

@ -21,6 +21,11 @@ @@ -21,6 +21,11 @@
#include <AP_HAL_AVR.h>
#include <AP_HAL_AVR_SITL.h>
#include <AP_HAL_Empty.h>
#include <AP_AHRS.h>
#include <AP_Airspeed.h>
#include <AP_Vehicle.h>
#include <AP_ADC_AnalogSource.h>
#include <AP_Compass.h>
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;

4
libraries/AP_Math/examples/rotations/rotations.pde

@ -23,6 +23,10 @@ @@ -23,6 +23,10 @@
#include <DataFlash.h>
#include <GCS_MAVLink.h>
#include <AP_Declination.h> // ArduPilot Mega Declination Helper Library
#include <AP_AHRS.h>
#include <AP_Airspeed.h>
#include <AP_Vehicle.h>
#include <AP_ADC_AnalogSource.h>
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;

Loading…
Cancel
Save