Increase GPS detection timeout slightly

This commit is contained in:
Jonathan Bennett 2023-08-31 22:19:50 -05:00
parent 79cfc4b725
commit a61f969773

View File

@ -892,7 +892,7 @@ GnssModel_t GPS::probe(int serialSpeed)
clearBuffer();
_serial_gps->write(cfg_rate, sizeof(cfg_rate));
// Check that the returned response class and message ID are correct
if (!getAck(buffer, sizeof(buffer), 0x06, 0x08, 750)) {
if (!getAck(buffer, sizeof(buffer), 0x06, 0x08, 1000)) {
LOG_WARN("Failed to find UBlox & MTK GNSS Module using baudrate %d\n", serialSpeed);
return GNSS_MODEL_UNKNOWN;
}