Skip to content

Commit fc090fc

Browse files
committed
Update SparkFun_u-blox_SARA-R5_Arduino_Library.h
1 parent 74ae4d5 commit fc090fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SparkFun_u-blox_SARA-R5_Arduino_Library.h

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
#define SARA_R5_SOFTWARE_SERIAL_ENABLED // Enable software serial
4040
#endif
4141

42+
#ifdef ARDUINO_ARCH_ESP32 // ESP32 based boards
43+
#define SARA_R5_SOFTWARE_SERIAL_ENABLEDx // Disable software serial
44+
#endif
45+
4246
#ifdef SARA_R5_SOFTWARE_SERIAL_ENABLED
4347
#include <SoftwareSerial.h>
4448
#endif

0 commit comments

Comments
 (0)