From 9deb23aa47349969c47ecd6409222da7594b5de2 Mon Sep 17 00:00:00 2001 From: Nils Hasenbanck Date: Wed, 17 Oct 2018 18:14:10 +0200 Subject: [PATCH] Add missing SerialUSB definition for STM32 HAL (#12124) --- Marlin/src/HAL/HAL_STM32/HAL.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/HAL/HAL_STM32/HAL.h b/Marlin/src/HAL/HAL_STM32/HAL.h index 7d789d7418..f43716871f 100644 --- a/Marlin/src/HAL/HAL_STM32/HAL.h +++ b/Marlin/src/HAL/HAL_STM32/HAL.h @@ -87,7 +87,7 @@ #endif #define NUM_SERIAL 2 #if SERIAL_PORT_2 == -1 - #define MYSERIAL1 Serial0 // TODO Once CDC is supported + #define MYSERIAL1 SerialUSB #elif SERIAL_PORT_2 == 1 #define MYSERIAL1 Serial1 #elif SERIAL_PORT_2 == 2