mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
GPS: fixed the UBlox test code
This commit is contained in:
parent
71f9e33f2f
commit
64d5f4c26a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user