AP_GPS: Add missing setup for GPS_AUTO_test

GPS_AUTO_test was missing some setup lines.
This commit is contained in:
Gustavo Jose de Sousa 2015-03-13 14:36:01 -03:00 committed by Andrew Tridgell
parent 7f7d92913e
commit be67b019a7
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include <AP_Rally.h>
#include <AP_Scheduler.h>
#include <AP_BattMonitor.h>
#include <AP_SerialManager.h>
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()