GPS: fixed the UBlox test code

This commit is contained in:
Andrew Tridgell 2012-04-20 20:56:50 +10:00
parent 71f9e33f2f
commit 64d5f4c26a

View File

@ -9,6 +9,7 @@
#include <FastSerial.h>
#include <AP_Common.h>
#include <AP_GPS.h>
#include <AP_Math.h>
FastSerialPort0(Serial);
FastSerialPort1(Serial1);
@ -19,7 +20,7 @@ AP_GPS_UBLOX gps(&Serial1);
void setup()
{
Serial.begin(38400);
Serial.begin(115200);
Serial1.begin(38400);
stderr = stdout;
gps.print_errors = true;