Skip to content

Commit 8a4b88c

Browse files
committed
Update USBTX/USBRX alias
1 parent 61cfaa1 commit 8a4b88c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

hal/include/hal/PinNameAliases.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,8 @@
2121
#define MBED_PIN_NAME_ALIASES_H
2222

2323
/* Aliases for legacy reasons. To be removed in the next Mbed OS version */
24-
#if defined (CONSOLE_TX) && (CONSOLE_RX)
2524
#define USBTX CONSOLE_TX
2625
#define USBRX CONSOLE_RX
27-
#else
28-
#define CONSOLE_TX USBTX
29-
#define CONSOLE_RX USBRX
30-
#endif
3126

3227
#if defined (TARGET_FF_ARDUINO) || (TARGET_FF_ARDUINO_UNO)
3328

0 commit comments

Comments
 (0)