Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit ee7ad7c

Browse files
committed
Increased the default maxWait for Serial to avoid timeout problems on Serial
1 parent debbf05 commit ee7ad7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Ublox_Arduino_Library.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ class SFE_UBLOX_GPS
429429
// A default of 250ms for maxWait seems fine for I2C but is not enough for SerialUSB.
430430
// If you know you are only going to be using I2C / Qwiic communication, you can
431431
// safely reduce defaultMaxWait to 250.
432-
#define defaultMaxWait 500
432+
#define defaultMaxWait 1100
433433

434434
//By default use the default I2C address, and use Wire port
435435
boolean begin(TwoWire &wirePort = Wire, uint8_t deviceAddress = 0x42); //Returns true if module is detected

0 commit comments

Comments
 (0)