From fecbf06008a0f34de335a3d4fd965256477818ec Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 1 May 2015 20:57:38 +0900 Subject: [PATCH] AP_Math: fix example sketches --- 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 8fc26c7e56..cee435ac5d 100644 --- a/libraries/AP_Math/examples/eulers/eulers.pde +++ b/libraries/AP_Math/examples/eulers/eulers.pde @@ -35,6 +35,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 dcf3854830..09c4211fd6 100644 --- a/libraries/AP_Math/examples/location/location.pde +++ b/libraries/AP_Math/examples/location/location.pde @@ -33,6 +33,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 45587ad169..cfd070f4c7 100644 --- a/libraries/AP_Math/examples/rotations/rotations.pde +++ b/libraries/AP_Math/examples/rotations/rotations.pde @@ -34,6 +34,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;