Skip to content

Commit 18eea4c

Browse files
committed
include:fix macro clash with Arduino framework
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent 610b699 commit 18eea4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/sys/termios.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@
8080
#define CBAUD 0x1F /** Use baud rates defined by B0-B38400 macros. */
8181
#define CBAUDEX (1u << 4) /** Use baud rates defined by B57600-B4000000 macros. */
8282
#define BOTHER CBAUDEX /** Custom baud rate */
83+
#ifndef ARDUINO
8384
#define B0 0 /** Autobaud */
85+
#endif
8486
#define B50 1
8587
#define B75 2
8688
#ifndef ARDUINO

0 commit comments

Comments
 (0)