mirror of https://github.com/ArduPilot/ardupilot
PID: fixed example build
This commit is contained in:
parent
393455cdbb
commit
62bfded26c
|
@ -11,11 +11,10 @@
|
||||||
#include <PID.h> // ArduPilot Mega RC Library
|
#include <PID.h> // ArduPilot Mega RC Library
|
||||||
|
|
||||||
#include <AP_HAL_AVR.h>
|
#include <AP_HAL_AVR.h>
|
||||||
#if CONFIG_APM_HARDWARE == APM_HARDWARE_APM2
|
#include <AP_HAL_AVR_SITL.h>
|
||||||
const AP_HAL::HAL& hal = AP_HAL_AVR_APM2;
|
#include <AP_HAL_Empty.h>
|
||||||
#else
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_AVR_APM1;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
#endif
|
|
||||||
|
|
||||||
long radio_in;
|
long radio_in;
|
||||||
long radio_trim;
|
long radio_trim;
|
||||||
|
|
Loading…
Reference in New Issue