Browse Source

Add missing SerialUSB definition for STM32 HAL (#12124)

pull/1/head
Nils Hasenbanck 6 years ago
committed by Scott Lahteine
parent
commit
9deb23aa47
  1. 2
      Marlin/src/HAL/HAL_STM32/HAL.h

2
Marlin/src/HAL/HAL_STM32/HAL.h

@ -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…
Cancel
Save