diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h index 3a23b63634..d225bc4c27 100644 --- a/Marlin/SanityCheck.h +++ b/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 diff --git a/Marlin/configurator/config/language.h b/Marlin/configurator/config/language.h index 10f012775a..b421dd946f 100644 --- a/Marlin/configurator/config/language.h +++ b/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 diff --git a/Marlin/language.h b/Marlin/language.h index 10f012775a..b421dd946f 100644 --- a/Marlin/language.h +++ b/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