GPS: test the more modern MTK16

This commit is contained in:
Andrew Tridgell 2012-06-22 15:22:48 +10:00
parent 426006d98f
commit 3458962184
1 changed files with 2 additions and 2 deletions

View File

@ -14,13 +14,13 @@
FastSerialPort0(Serial); FastSerialPort0(Serial);
FastSerialPort1(Serial1); FastSerialPort1(Serial1);
AP_GPS_MTK gps(&Serial1); AP_GPS_MTK16 gps(&Serial1);
#define T6 1000000 #define T6 1000000
#define T7 10000000 #define T7 10000000
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;