From be67b019a78128b235941c56c0d41286f167853a Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Fri, 13 Mar 2015 14:36:01 -0300 Subject: [PATCH] AP_GPS: Add missing setup for GPS_AUTO_test GPS_AUTO_test was missing some setup lines. --- libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde | 5 +++++ 1 file changed, 5 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 27c6d6ddca..020e773ffc 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 @@ -37,6 +37,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; @@ -45,6 +46,8 @@ AP_BoardLED board_led; AP_GPS gps; +AP_SerialManager serial_manager; + #define T6 1000000 #define T7 10000000 @@ -54,6 +57,8 @@ void setup() // initialise the leds board_led.init(); + serial_manager.init(); + gps.init(NULL, serial_manager); } void loop()