瀏覽代碼

One MARLIN_DEV_MODE warning per rebuild (#19163)

Victor Oliveira 4 年之前
父節點
當前提交
cb75bec06d
No account linked to committer's email address
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 4
    0
      Marlin/src/MarlinCore.cpp
  2. 0
    4
      Marlin/src/inc/SanityCheck.h

+ 4
- 0
Marlin/src/MarlinCore.cpp 查看文件

@@ -30,6 +30,10 @@
30 30
 
31 31
 #include "MarlinCore.h"
32 32
 
33
+#if ENABLED(MARLIN_DEV_MODE)
34
+  #warning "WARNING! Disable MARLIN_DEV_MODE for the final build!"
35
+#endif
36
+
33 37
 #include "HAL/shared/Delay.h"
34 38
 #include "HAL/shared/esp_wifi.h"
35 39
 

+ 0
- 4
Marlin/src/inc/SanityCheck.h 查看文件

@@ -75,10 +75,6 @@
75 75
 #endif
76 76
 #undef HEXIFY
77 77
 
78
-#if ENABLED(MARLIN_DEV_MODE)
79
-  #warning "WARNING! Disable MARLIN_DEV_MODE for the final build!"
80
-#endif
81
-
82 78
 /**
83 79
  * Warnings for old configurations
84 80
  */

Loading…
取消
儲存