We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 687dc9a commit 0e1ecf1Copy full SHA for 0e1ecf1
Marlin/src/HAL/STM32/HAL.cpp
@@ -89,7 +89,7 @@ void MarlinHAL::init() {
89
90
SetTimerInterruptPriorities();
91
92
- #if ENABLED(EMERGENCY_PARSER) && USBD_USE_CDC
+ #if ENABLED(EMERGENCY_PARSER) && (USBD_USE_CDC || USBD_USE_CDC_MSC)
93
USB_Hook_init();
94
#endif
95
Marlin/src/HAL/STM32/usb_serial.cpp
@@ -26,7 +26,7 @@
26
27
#include "../../inc/MarlinConfigPre.h"
28
29
-#if ENABLED(EMERGENCY_PARSER) && USBD_USE_CDC
+#if ENABLED(EMERGENCY_PARSER) && (USBD_USE_CDC || USBD_USE_CDC_MSC)
30
31
#include "usb_serial.h"
32
#include "../../feature/e_parser.h"
0 commit comments