HAL_Empty: fixed example build

This commit is contained in:
Andrew Tridgell 2013-01-14 07:03:34 +11:00
parent a3556c8cf8
commit 4609114a81
1 changed files with 4 additions and 2 deletions

View File

@ -1,17 +1,19 @@
#include <AP_HAL.h>
#include <AP_Common.h>
#include <AP_Progmem.h>
#include <AP_Param.h>
#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_BOARD_DRIVER;
void setup() {}
void setup() {
hal.console->println_P(PSTR("Empty setup"));
}
void loop() {}
AP_HAL_MAIN();