Add missing SerialUSB definition for STM32 HAL (#12124)
This commit is contained in:
parent
0519ef0802
commit
9deb23aa47
@ -87,7 +87,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#define NUM_SERIAL 2
|
#define NUM_SERIAL 2
|
||||||
#if SERIAL_PORT_2 == -1
|
#if SERIAL_PORT_2 == -1
|
||||||
#define MYSERIAL1 Serial0 // TODO Once CDC is supported
|
#define MYSERIAL1 SerialUSB
|
||||||
#elif SERIAL_PORT_2 == 1
|
#elif SERIAL_PORT_2 == 1
|
||||||
#define MYSERIAL1 Serial1
|
#define MYSERIAL1 Serial1
|
||||||
#elif SERIAL_PORT_2 == 2
|
#elif SERIAL_PORT_2 == 2
|
||||||
|
Loading…
Reference in New Issue
Block a user