Move deprecation test to SanityCheck.h
This commit is contained in:
parent
7bb7a52940
commit
5a11d32a85
@ -378,4 +378,8 @@
|
|||||||
#error BTENABLED has been replaced with BLUETOOTH. Please update your configuration.
|
#error BTENABLED has been replaced with BLUETOOTH. Please update your configuration.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CUSTOM_MENDEL_NAME
|
||||||
|
#error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME instead
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif //SANITYCHECK_H
|
#endif //SANITYCHECK_H
|
||||||
|
@ -64,11 +64,6 @@
|
|||||||
#define MACHINE_NAME "3D Printer"
|
#define MACHINE_NAME "3D Printer"
|
||||||
#endif
|
#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
|
#ifdef CUSTOM_MACHINE_NAME
|
||||||
#undef MACHINE_NAME
|
#undef MACHINE_NAME
|
||||||
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
||||||
|
@ -64,11 +64,6 @@
|
|||||||
#define MACHINE_NAME "3D Printer"
|
#define MACHINE_NAME "3D Printer"
|
||||||
#endif
|
#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
|
#ifdef CUSTOM_MACHINE_NAME
|
||||||
#undef MACHINE_NAME
|
#undef MACHINE_NAME
|
||||||
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
||||||
|
Loading…
Reference in New Issue
Block a user