Skip to content

Commit 0e1ecf1

Browse files
authored
🐛 Emergency Parser with STM32 Mass Storage (MarlinFirmware#23827)
1 parent 687dc9a commit 0e1ecf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Marlin/src/HAL/STM32/HAL.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void MarlinHAL::init() {
8989

9090
SetTimerInterruptPriorities();
9191

92-
#if ENABLED(EMERGENCY_PARSER) && USBD_USE_CDC
92+
#if ENABLED(EMERGENCY_PARSER) && (USBD_USE_CDC || USBD_USE_CDC_MSC)
9393
USB_Hook_init();
9494
#endif
9595

Marlin/src/HAL/STM32/usb_serial.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
#include "../../inc/MarlinConfigPre.h"
2828

29-
#if ENABLED(EMERGENCY_PARSER) && USBD_USE_CDC
29+
#if ENABLED(EMERGENCY_PARSER) && (USBD_USE_CDC || USBD_USE_CDC_MSC)
3030

3131
#include "usb_serial.h"
3232
#include "../../feature/e_parser.h"

0 commit comments

Comments
 (0)