mirror of https://github.com/ArduPilot/ardupilot
AP_InserialSensor: fixed example build
This commit is contained in:
parent
c3738ed344
commit
8f57b72e3f
|
@ -15,6 +15,7 @@
|
||||||
#include <AP_Param.h>
|
#include <AP_Param.h>
|
||||||
#include <AP_ADC.h>
|
#include <AP_ADC.h>
|
||||||
#include <AP_InertialSensor.h>
|
#include <AP_InertialSensor.h>
|
||||||
|
#include <GCS_MAVLink.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
#if CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
||||||
#define A_LED_PIN 27
|
#define A_LED_PIN 27
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#include <AP_Param.h>
|
#include <AP_Param.h>
|
||||||
#include <AP_ADC.h>
|
#include <AP_ADC.h>
|
||||||
#include <AP_InertialSensor.h>
|
#include <AP_InertialSensor.h>
|
||||||
|
#include <GCS_MAVLink.h>
|
||||||
|
|
||||||
#define A_LED_PIN 37
|
#define A_LED_PIN 37
|
||||||
#define C_LED_PIN 35
|
#define C_LED_PIN 35
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <AP_Param.h>
|
#include <AP_Param.h>
|
||||||
#include <AP_ADC.h>
|
#include <AP_ADC.h>
|
||||||
#include <AP_InertialSensor.h>
|
#include <AP_InertialSensor.h>
|
||||||
|
#include <GCS_MAVLink.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue