From 689cc9e298b170c875439a35ca98c1c1f68c01fd Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 28 Jan 2015 17:11:23 +0900 Subject: [PATCH] AP_Math: fix example sketch --- libraries/AP_Math/examples/eulers/eulers.pde | 1 + libraries/AP_Math/examples/location/location.pde | 1 + libraries/AP_Math/examples/rotations/rotations.pde | 1 + 3 files changed, 3 insertions(+) diff --git a/libraries/AP_Math/examples/eulers/eulers.pde b/libraries/AP_Math/examples/eulers/eulers.pde index b95ada4e3d..e4455111b3 100644 --- a/libraries/AP_Math/examples/eulers/eulers.pde +++ b/libraries/AP_Math/examples/eulers/eulers.pde @@ -34,6 +34,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_Math/examples/location/location.pde b/libraries/AP_Math/examples/location/location.pde index 86277f0d5e..d63af5a74b 100644 --- a/libraries/AP_Math/examples/location/location.pde +++ b/libraries/AP_Math/examples/location/location.pde @@ -32,6 +32,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_Math/examples/rotations/rotations.pde b/libraries/AP_Math/examples/rotations/rotations.pde index ef05f11379..45587ad169 100644 --- a/libraries/AP_Math/examples/rotations/rotations.pde +++ b/libraries/AP_Math/examples/rotations/rotations.pde @@ -33,6 +33,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;