From 64d5f4c26ac2e89a0e17ce960fa9bd8fc93fbe47 Mon Sep 17 00:00:00 2001
From: Andrew Tridgell <tridge@samba.org>
Date: Fri, 20 Apr 2012 20:56:50 +1000
Subject: [PATCH] GPS: fixed the UBlox test code

---
 libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde b/libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde
index edebec4c7..74580b860 100644
--- a/libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde
+++ b/libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde
@@ -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;
-- 
GitLab