Skip to content

Commit c1f707f

Browse files
committed
unoq: handle router bridge provides serial update
1 parent a7a7ca3 commit c1f707f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/RS485.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@
4545
#define RS485_DEFAULT_RE_PIN 7
4646
#elif defined(ARDUINO_UNO_Q)
4747
// Support for Uno Q with the SPE Shield mounted
48+
#if defined ARDUINO_CONSOLE_SERIAL
49+
#define SERIAL_PORT_HARDWARE ARDUINO_CONSOLE_SERIAL
50+
#else
4851
#define SERIAL_PORT_HARDWARE Serial
52+
#endif
4953
#define RS485_DEFAULT_DE_PIN D8
5054
#define RS485_DEFAULT_RE_PIN D7
5155
#else

0 commit comments

Comments
 (0)