mirror of https://github.com/ArduPilot/ardupilot
HAL_Empty: fixed example build
This commit is contained in:
parent
a3556c8cf8
commit
4609114a81
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue