From 0d72f3ac29a5c66c8659d8f63b2d731aaac91521 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 12 May 2015 14:42:15 +0900 Subject: [PATCH] AP_HAL: fix example sketches --- libraries/AP_HAL/examples/Printf/Printf.pde | 1 + libraries/AP_HAL/examples/RCInput/RCInput.pde | 1 + .../AP_HAL/examples/RCInputToRCOutput/RCInputToRCOutput.pde | 1 + libraries/AP_HAL/examples/RCOutput/RCOutput.pde | 1 + libraries/AP_HAL/examples/UART_test/UART_test.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 f14d136a4b..7575ff58f4 100644 --- a/libraries/AP_HAL/examples/Printf/Printf.pde +++ b/libraries/AP_HAL/examples/Printf/Printf.pde @@ -29,6 +29,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_HAL/examples/RCInput/RCInput.pde b/libraries/AP_HAL/examples/RCInput/RCInput.pde index 4f9e09e2cd..c52507dd99 100644 --- a/libraries/AP_HAL/examples/RCInput/RCInput.pde +++ b/libraries/AP_HAL/examples/RCInput/RCInput.pde @@ -34,6 +34,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_HAL/examples/RCInputToRCOutput/RCInputToRCOutput.pde b/libraries/AP_HAL/examples/RCInputToRCOutput/RCInputToRCOutput.pde index 29888d81cb..f5d652e67d 100644 --- a/libraries/AP_HAL/examples/RCInputToRCOutput/RCInputToRCOutput.pde +++ b/libraries/AP_HAL/examples/RCInputToRCOutput/RCInputToRCOutput.pde @@ -37,6 +37,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_HAL/examples/RCOutput/RCOutput.pde b/libraries/AP_HAL/examples/RCOutput/RCOutput.pde index 354afcf29c..19ca0a5f68 100644 --- a/libraries/AP_HAL/examples/RCOutput/RCOutput.pde +++ b/libraries/AP_HAL/examples/RCOutput/RCOutput.pde @@ -34,6 +34,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_HAL/examples/UART_test/UART_test.pde b/libraries/AP_HAL/examples/UART_test/UART_test.pde index 024f2c8b14..dd74cc3d33 100644 --- a/libraries/AP_HAL/examples/UART_test/UART_test.pde +++ b/libraries/AP_HAL/examples/UART_test/UART_test.pde @@ -34,6 +34,7 @@ #include #include #include +#include #if HAL_OS_POSIX_IO #include