|
|
|
|
77
|
#elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
|
77
|
#elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
|
78
|
#error "DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead."
|
78
|
#error "DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead."
|
79
|
#elif ENABLED(Z_DUAL_ENDSTOPS) && !defined(Z2_USE_ENDSTOP)
|
79
|
#elif ENABLED(Z_DUAL_ENDSTOPS) && !defined(Z2_USE_ENDSTOP)
|
80
|
- #error "Z_DUAL_ENDSTOPS settings are simplified. Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2"
|
|
|
|
|
80
|
+ #error "Z_DUAL_ENDSTOPS settings are simplified. Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2."
|
81
|
#elif defined(LANGUAGE_INCLUDE)
|
81
|
#elif defined(LANGUAGE_INCLUDE)
|
82
|
#error "LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE. Please update your configuration."
|
82
|
#error "LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE. Please update your configuration."
|
83
|
#elif defined(EXTRUDER_OFFSET_X) || defined(EXTRUDER_OFFSET_Y)
|
83
|
#elif defined(EXTRUDER_OFFSET_X) || defined(EXTRUDER_OFFSET_Y)
|
|
|
|
|
916
|
#elif ENABLED(Z_DUAL_ENDSTOPS)
|
916
|
#elif ENABLED(Z_DUAL_ENDSTOPS)
|
917
|
#if !Z2_USE_ENDSTOP
|
917
|
#if !Z2_USE_ENDSTOP
|
918
|
#error "You must set Z2_USE_ENDSTOP with Z_DUAL_ENDSTOPS."
|
918
|
#error "You must set Z2_USE_ENDSTOP with Z_DUAL_ENDSTOPS."
|
|
|
919
|
+ #elif Z2_MAX_PIN == 0 && Z2_MIN_PIN == 0
|
|
|
920
|
+ #error "Z2_USE_ENDSTOP has been assigned to a nonexistent endstop!"
|
919
|
#elif ENABLED(DELTA)
|
921
|
#elif ENABLED(DELTA)
|
920
|
#error "Z_DUAL_ENDSTOPS is not compatible with DELTA."
|
922
|
#error "Z_DUAL_ENDSTOPS is not compatible with DELTA."
|
921
|
#endif
|
923
|
#endif
|