소스 검색

One MARLIN_DEV_MODE warning per rebuild (#19163)

Victor Oliveira 5 년 전
부모
커밋
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…
취소
저장