mirror of https://github.com/ArduPilot/ardupilot
uncrustify libraries/AP_GPS/examples/GPS_NMEA_test/GPS_NMEA_test.pde
This commit is contained in:
parent
01cc566199
commit
802a04512f
|
@ -11,7 +11,7 @@ FastSerialPort0(Serial);
|
||||||
FastSerialPort1(Serial1);
|
FastSerialPort1(Serial1);
|
||||||
|
|
||||||
AP_GPS_NMEA NMEA_gps(&Serial1);
|
AP_GPS_NMEA NMEA_gps(&Serial1);
|
||||||
GPS *gps = &NMEA_gps;
|
GPS *gps = &NMEA_gps;
|
||||||
|
|
||||||
#define T6 1000000
|
#define T6 1000000
|
||||||
#define T7 10000000
|
#define T7 10000000
|
||||||
|
@ -31,8 +31,7 @@ const uint8_t sirf_to_nmea[] = { 0xa0, 0xa2, // preamble
|
||||||
0x00, 0x00, // pad
|
0x00, 0x00, // pad
|
||||||
0x96, 0x00, // 38400
|
0x96, 0x00, // 38400
|
||||||
0x01, 0x25, // checksum TBD
|
0x01, 0x25, // checksum TBD
|
||||||
0xb0, 0xb3
|
0xb0, 0xb3}; // postamble
|
||||||
}; // postamble
|
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue