From 8f57b72e3f9fdf73664d6b00dc139eb5dc7e5be7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 8 May 2013 16:45:31 +1000 Subject: [PATCH] AP_InserialSensor: 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 6cbc21827d..932e6316c6 100644 --- a/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde +++ b/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde @@ -15,6 +15,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 1584e0f168..256cb88d8c 100644 --- a/libraries/AP_InertialSensor/examples/OilPan/OilPan.pde +++ b/libraries/AP_InertialSensor/examples/OilPan/OilPan.pde @@ -15,6 +15,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 2c7ce16316..eda2ed8dd9 100644 --- a/libraries/AP_InertialSensor/examples/PX4/PX4.pde +++ b/libraries/AP_InertialSensor/examples/PX4/PX4.pde @@ -16,6 +16,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;