Browse Source

Add missing SerialUSB definition for STM32 HAL (#12124)

Nils Hasenbanck 6 years ago
parent
commit
9deb23aa47
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_STM32/HAL.h

+ 1
- 1
Marlin/src/HAL/HAL_STM32/HAL.h View File

@@ -87,7 +87,7 @@
87 87
   #endif
88 88
   #define NUM_SERIAL 2
89 89
   #if SERIAL_PORT_2 == -1
90
-    #define MYSERIAL1 Serial0 // TODO Once CDC is supported
90
+    #define MYSERIAL1 SerialUSB
91 91
   #elif SERIAL_PORT_2 == 1
92 92
     #define MYSERIAL1 Serial1
93 93
   #elif SERIAL_PORT_2 == 2

Loading…
Cancel
Save