Browse Source

AP_GPS: less chatty autodetect

mission-4.1.18
Pat Hickey 12 years ago committed by Andrew Tridgell
parent
commit
2be552ea22
  1. 2
      libraries/AP_GPS/AP_GPS_Auto.cpp

2
libraries/AP_GPS/AP_GPS_Auto.cpp

@ -49,7 +49,7 @@ AP_GPS_Auto::read(void) @@ -49,7 +49,7 @@ AP_GPS_Auto::read(void)
// its been more than 1.2 seconds without detection on this
// GPS - switch to another baud rate
uint32_t newbaud = pgm_read_dword(&baudrates[last_baud]);
hal.console->printf_P(PSTR("gps set baud %ld\r\n"), newbaud);
/* DEBUG: hal.console->printf_P(PSTR("gps set baud %ld\r\n"), newbaud); */
_port->begin(newbaud, 256, 16);
last_baud++;
last_baud_change_ms = now;

Loading…
Cancel
Save