From 5caf2e0ea4b6efa4843242fff783b356af90c451 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 29 Aug 2013 15:05:30 +1000 Subject: [PATCH] AP_InertialSensor: fixed example build --- libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde | 1 + libraries/AP_InertialSensor/examples/OilPan/OilPan.pde | 1 + libraries/AP_InertialSensor/examples/PX4/PX4.pde | 1 + 3 files changed, 3 insertions(+) diff --git a/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde b/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde index df69b428bd..43ad12a7a2 100644 --- a/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde +++ b/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde @@ -16,6 +16,7 @@ #include #include #include +#include #if CONFIG_HAL_BOARD == HAL_BOARD_APM2 #define A_LED_PIN 27 diff --git a/libraries/AP_InertialSensor/examples/OilPan/OilPan.pde b/libraries/AP_InertialSensor/examples/OilPan/OilPan.pde index 936d785c9b..60829cb588 100644 --- a/libraries/AP_InertialSensor/examples/OilPan/OilPan.pde +++ b/libraries/AP_InertialSensor/examples/OilPan/OilPan.pde @@ -16,6 +16,7 @@ #include #include #include +#include #define A_LED_PIN 37 #define C_LED_PIN 35 diff --git a/libraries/AP_InertialSensor/examples/PX4/PX4.pde b/libraries/AP_InertialSensor/examples/PX4/PX4.pde index 4da9b66290..5d6f77ab42 100644 --- a/libraries/AP_InertialSensor/examples/PX4/PX4.pde +++ b/libraries/AP_InertialSensor/examples/PX4/PX4.pde @@ -17,6 +17,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;