瀏覽代碼

🐛 Emergency Parser with STM32 Mass Storage (#23827)

Jack Wilsdon 3 年之前
父節點
當前提交
0e1ecf1fe0
沒有連結到貢獻者的電子郵件帳戶。
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      Marlin/src/HAL/STM32/HAL.cpp
  2. 1
    1
      Marlin/src/HAL/STM32/usb_serial.cpp

+ 1
- 1
Marlin/src/HAL/STM32/HAL.cpp 查看文件

89
 
89
 
90
   SetTimerInterruptPriorities();
90
   SetTimerInterruptPriorities();
91
 
91
 
92
-  #if ENABLED(EMERGENCY_PARSER) && USBD_USE_CDC
92
+  #if ENABLED(EMERGENCY_PARSER) && (USBD_USE_CDC || USBD_USE_CDC_MSC)
93
     USB_Hook_init();
93
     USB_Hook_init();
94
   #endif
94
   #endif
95
 
95
 

+ 1
- 1
Marlin/src/HAL/STM32/usb_serial.cpp 查看文件

26
 
26
 
27
 #include "../../inc/MarlinConfigPre.h"
27
 #include "../../inc/MarlinConfigPre.h"
28
 
28
 
29
-#if ENABLED(EMERGENCY_PARSER) && USBD_USE_CDC
29
+#if ENABLED(EMERGENCY_PARSER) && (USBD_USE_CDC || USBD_USE_CDC_MSC)
30
 
30
 
31
 #include "usb_serial.h"
31
 #include "usb_serial.h"
32
 #include "../../feature/e_parser.h"
32
 #include "../../feature/e_parser.h"

Loading…
取消
儲存