Skip to content
Snippets Groups Projects
Commit 64d5f4c2 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

GPS: fixed the UBlox test code

parent 71f9e33f
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <FastSerial.h> #include <FastSerial.h>
#include <AP_Common.h> #include <AP_Common.h>
#include <AP_GPS.h> #include <AP_GPS.h>
#include <AP_Math.h>
FastSerialPort0(Serial); FastSerialPort0(Serial);
FastSerialPort1(Serial1); FastSerialPort1(Serial1);
...@@ -19,7 +20,7 @@ AP_GPS_UBLOX gps(&Serial1); ...@@ -19,7 +20,7 @@ AP_GPS_UBLOX gps(&Serial1);
void setup() void setup()
{ {
Serial.begin(38400); Serial.begin(115200);
Serial1.begin(38400); Serial1.begin(38400);
stderr = stdout; stderr = stdout;
gps.print_errors = true; gps.print_errors = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment