From 02dec5634f405cdd6a8db856943e8b1a2b46866f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 25 Jul 2014 17:52:01 +1000 Subject: [PATCH] AP_HAL: fixed example builds --- libraries/AP_HAL/examples/Printf/Printf.pde | 1 + libraries/AP_HAL_AVR/examples/ArduCopterLibs/ArduCopterLibs.pde | 1 + libraries/AP_HAL_AVR/examples/ArduPlaneLibs/ArduPlaneLibs.pde | 1 + .../examples/AP_Baro_BMP085_test/AP_Baro_BMP085_test.pde | 1 + libraries/AP_HAL_PX4/examples/simple/simple.pde | 1 + 5 files changed, 5 insertions(+) diff --git a/libraries/AP_HAL/examples/Printf/Printf.pde b/libraries/AP_HAL/examples/Printf/Printf.pde index 3e83790987..2f18804b28 100644 --- a/libraries/AP_HAL/examples/Printf/Printf.pde +++ b/libraries/AP_HAL/examples/Printf/Printf.pde @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/libraries/AP_HAL_AVR/examples/ArduCopterLibs/ArduCopterLibs.pde b/libraries/AP_HAL_AVR/examples/ArduCopterLibs/ArduCopterLibs.pde index 0b7e9a11ae..eee4900829 100644 --- a/libraries/AP_HAL_AVR/examples/ArduCopterLibs/ArduCopterLibs.pde +++ b/libraries/AP_HAL_AVR/examples/ArduCopterLibs/ArduCopterLibs.pde @@ -37,6 +37,7 @@ #include // ArduPilot Mega inertial navigation library #include #include +#include #include #if CONFIG_HAL_BOARD == HAL_BOARD_APM2 diff --git a/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/ArduPlaneLibs.pde b/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/ArduPlaneLibs.pde index 5935f02084..7d21a9dd25 100644 --- a/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/ArduPlaneLibs.pde +++ b/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/ArduPlaneLibs.pde @@ -29,6 +29,7 @@ #include #include // MAVLink GCS definitions #include +#include #include // Camera/Antenna mount #include // ArduPilot Mega Declination Helper Library diff --git a/libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/AP_Baro_BMP085_test.pde b/libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/AP_Baro_BMP085_test.pde index 496900d0a4..06d75f65c7 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/AP_Baro_BMP085_test.pde +++ b/libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/AP_Baro_BMP085_test.pde @@ -19,6 +19,7 @@ #include #include #include +#include #include diff --git a/libraries/AP_HAL_PX4/examples/simple/simple.pde b/libraries/AP_HAL_PX4/examples/simple/simple.pde index 33c09f01d6..636b32976c 100644 --- a/libraries/AP_HAL_PX4/examples/simple/simple.pde +++ b/libraries/AP_HAL_PX4/examples/simple/simple.pde @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include