Browse Source

One MARLIN_DEV_MODE warning per rebuild (#19163)

Victor Oliveira 5 years ago
parent
commit
cb75bec06d
No account linked to committer's email address
2 changed files with 4 additions and 4 deletions
  1. 4
    0
      Marlin/src/MarlinCore.cpp
  2. 0
    4
      Marlin/src/inc/SanityCheck.h

+ 4
- 0
Marlin/src/MarlinCore.cpp View File

30
 
30
 
31
 #include "MarlinCore.h"
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
 #include "HAL/shared/Delay.h"
37
 #include "HAL/shared/Delay.h"
34
 #include "HAL/shared/esp_wifi.h"
38
 #include "HAL/shared/esp_wifi.h"
35
 
39
 

+ 0
- 4
Marlin/src/inc/SanityCheck.h View File

75
 #endif
75
 #endif
76
 #undef HEXIFY
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
  * Warnings for old configurations
79
  * Warnings for old configurations
84
  */
80
  */

Loading…
Cancel
Save