mirror of https://github.com/ARMmbed/mbed-os.git
Update USBTX/USBRX alias
parent
61cfaa15cd
commit
8a4b88c762
|
@ -21,13 +21,8 @@
|
|||
#define MBED_PIN_NAME_ALIASES_H
|
||||
|
||||
/* Aliases for legacy reasons. To be removed in the next Mbed OS version */
|
||||
#if defined (CONSOLE_TX) && (CONSOLE_RX)
|
||||
#define USBTX CONSOLE_TX
|
||||
#define USBRX CONSOLE_RX
|
||||
#else
|
||||
#define CONSOLE_TX USBTX
|
||||
#define CONSOLE_RX USBRX
|
||||
#endif
|
||||
|
||||
#if defined (TARGET_FF_ARDUINO) || (TARGET_FF_ARDUINO_UNO)
|
||||
|
||||
|
|
Loading…
Reference in New Issue