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

Commit 2c7fcd2

Browse files
authored
Merge pull request #7 from trycoon/esp32_buffer_length
#5 only set I2C_BUFFER_LENGTH if not already defined
2 parents 16dccae + dcb1c14 commit 2c7fcd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SparkFun_Ublox_Arduino_Library.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@
6262
//#elif __MK20DX256__
6363
//Teensy
6464

65-
//#elif ARDUINO_ARCH_ESP32
66-
//ESP32 based platforms
65+
#endif
6766

68-
#else
67+
#ifndef I2C_BUFFER_LENGTH
6968

7069
//The catch-all default is 32
7170
#define I2C_BUFFER_LENGTH 32
@@ -369,3 +368,4 @@ class SFE_UBLOX_GPS
369368
};
370369

371370
#endif
371+

0 commit comments

Comments
 (0)