GPS: detect new style 3DR UBlox

This commit is contained in:
Andrew Tridgell 2012-04-20 22:02:37 +10:00
parent 08bc7f1a41
commit 711814085b
1 changed files with 11 additions and 0 deletions

View File

@ -165,6 +165,17 @@ AP_GPS_Auto::_detect(void)
break;
}
// new style 3DR UBlox (April 2012)x
if (0xb5 == fingerprint[0] &&
0x62 == fingerprint[1] &&
0x0d == fingerprint[2] &&
0x01 == fingerprint[3]) {
// new style Ublox
gps = new AP_GPS_UBLOX(_port);
Serial.print_P(PSTR(" ublox "));
break;
}
//
// MTK v1.6
//