From fa4ba456b4e2b6eb12a54c819c8b3364aed5163b Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 7 May 2015 13:59:55 +0900 Subject: [PATCH] GPS: fix example sketches --- libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde | 1 + .../examples/GPS_UBLOX_passthrough/GPS_UBLOX_passthrough.pde | 1 + 2 files changed, 2 insertions(+) diff --git a/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde b/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde index 93884a9247..2cadeaff80 100644 --- a/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde +++ b/libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde @@ -38,6 +38,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/GPS_UBLOX_passthrough.pde b/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/GPS_UBLOX_passthrough.pde index 509283d3d1..361b91ab23 100644 --- a/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/GPS_UBLOX_passthrough.pde +++ b/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/GPS_UBLOX_passthrough.pde @@ -37,6 +37,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;