GPS: detect_instance does not set uart rx, tx size

This commit is contained in:
Randy Mackay 2015-01-26 22:21:08 +09:00 committed by Andrew Tridgell
parent 2eddecb10d
commit ebf5f98dbd

View File

@ -186,7 +186,7 @@ AP_GPS::detect_instance(uint8_t instance)
dstate->last_baud = 0;
}
uint32_t baudrate = pgm_read_dword(&_baudrates[dstate->last_baud]);
_port[instance]->begin(baudrate, 256, 16);
_port[instance]->begin(baudrate);
dstate->last_baud_change_ms = now;
send_blob_start(instance, _initialisation_blob, sizeof(_initialisation_blob));
}