Procházet zdrojové kódy

Move deprecation test to SanityCheck.h

Richard Wackerbarth před 9 roky
rodič
revize
5a11d32a85

+ 4
- 0
Marlin/SanityCheck.h Zobrazit soubor

@@ -378,4 +378,8 @@
378 378
     #error BTENABLED has been replaced with BLUETOOTH. Please update your configuration.
379 379
   #endif
380 380
 
381
+  #ifdef CUSTOM_MENDEL_NAME
382
+    #error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME instead
383
+  #endif
384
+
381 385
 #endif //SANITYCHECK_H

+ 0
- 5
Marlin/configurator/config/language.h Zobrazit soubor

@@ -64,11 +64,6 @@
64 64
   #define MACHINE_NAME "3D Printer"
65 65
 #endif
66 66
 
67
-#ifdef CUSTOM_MENDEL_NAME
68
-  #error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME
69
-  #define CUSTOM_MACHINE_NAME CUSTOM_MENDEL_NAME
70
-#endif
71
-
72 67
 #ifdef CUSTOM_MACHINE_NAME
73 68
   #undef MACHINE_NAME
74 69
   #define MACHINE_NAME CUSTOM_MACHINE_NAME

+ 0
- 5
Marlin/language.h Zobrazit soubor

@@ -64,11 +64,6 @@
64 64
   #define MACHINE_NAME "3D Printer"
65 65
 #endif
66 66
 
67
-#ifdef CUSTOM_MENDEL_NAME
68
-  #error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME
69
-  #define CUSTOM_MACHINE_NAME CUSTOM_MENDEL_NAME
70
-#endif
71
-
72 67
 #ifdef CUSTOM_MACHINE_NAME
73 68
   #undef MACHINE_NAME
74 69
   #define MACHINE_NAME CUSTOM_MACHINE_NAME

Loading…
Zrušit
Uložit