Add missing SerialUSB definition for STM32 HAL (#12124)

This commit is contained in:
Nils Hasenbanck 2018-10-17 18:14:10 +02:00 committed by Scott Lahteine
parent 0519ef0802
commit 9deb23aa47

View File

@ -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