Browse Source

Move deprecation test to SanityCheck.h

pull/1/head
Richard Wackerbarth 10 years ago
parent
commit
5a11d32a85
  1. 4
      Marlin/SanityCheck.h
  2. 5
      Marlin/configurator/config/language.h
  3. 5
      Marlin/language.h

4
Marlin/SanityCheck.h

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

5
Marlin/configurator/config/language.h

@ -64,11 +64,6 @@
#define MACHINE_NAME "3D Printer"
#endif
#ifdef CUSTOM_MENDEL_NAME
#error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME
#define CUSTOM_MACHINE_NAME CUSTOM_MENDEL_NAME
#endif
#ifdef CUSTOM_MACHINE_NAME
#undef MACHINE_NAME
#define MACHINE_NAME CUSTOM_MACHINE_NAME

5
Marlin/language.h

@ -64,11 +64,6 @@
#define MACHINE_NAME "3D Printer"
#endif
#ifdef CUSTOM_MENDEL_NAME
#error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME
#define CUSTOM_MACHINE_NAME CUSTOM_MENDEL_NAME
#endif
#ifdef CUSTOM_MACHINE_NAME
#undef MACHINE_NAME
#define MACHINE_NAME CUSTOM_MACHINE_NAME

Loading…
Cancel
Save