HAL_Empty: allow example build for other backends

This commit is contained in:
Andrew Tridgell 2012-12-19 11:03:11 +11:00
parent 8beaec61a8
commit bd2a733a6b
1 changed files with 3 additions and 1 deletions

View File

@ -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() {}