Browse Source

AP_HAL: fixed example build

master
Andrew Tridgell 11 years ago
parent
commit
830afefcef
  1. 4
      libraries/AP_HAL/examples/Printf/Printf.pde
  2. 4
      libraries/AP_HAL_PX4/examples/simple/simple.pde

4
libraries/AP_HAL/examples/Printf/Printf.pde

@ -18,6 +18,10 @@ @@ -18,6 +18,10 @@
#include <AP_Param.h>
#include <AP_Progmem.h>
#include <AP_Math.h>
#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;

4
libraries/AP_HAL_PX4/examples/simple/simple.pde

@ -26,6 +26,10 @@ @@ -26,6 +26,10 @@
#include <AP_Declination.h>
#include <SITL.h>
#include <AP_Notify.h>
#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