Browse Source

HAL_Empty: allow example build for other backends

master
Andrew Tridgell 12 years ago
parent
commit
bd2a733a6b
  1. 4
      libraries/AP_HAL_Empty/examples/empty_example/empty_example.pde

4
libraries/AP_HAL_Empty/examples/empty_example/empty_example.pde

@ -5,9 +5,11 @@ @@ -5,9 +5,11 @@
#include <AP_Math.h>
#include <AP_HAL.h>
#include <AP_HAL_AVR.h>
#include <AP_HAL_AVR_SITL.h>
#include <AP_HAL_Empty.h>
const AP_HAL::HAL& hal = AP_HAL_Empty;
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
void setup() {}
void loop() {}

Loading…
Cancel
Save