[2.0.x] Fix compile error on delta when NO_WORKSPACE_OFFSETS (#9388)

This commit is contained in:
GMagician 2018-02-02 08:44:48 +01:00 committed by Scott Lahteine
parent ca00fed827
commit ea9ad4e46d
2 changed files with 3 additions and 3 deletions

View File

@ -1304,7 +1304,7 @@ void homeaxis(const AxisEnum axis) {
#endif #endif
} // homeaxis() } // homeaxis()
#if HAS_WORKSPACE_OFFSET || ENABLED(DUAL_X_CARRIAGE) #if HAS_WORKSPACE_OFFSET || ENABLED(DUAL_X_CARRIAGE) || ENABLED(DELTA)
/** /**
* Software endstops can be used to monitor the open end of * Software endstops can be used to monitor the open end of
@ -1382,7 +1382,7 @@ void homeaxis(const AxisEnum axis) {
#endif #endif
} }
#endif // HAS_WORKSPACE_OFFSET || DUAL_X_CARRIAGE #endif // HAS_WORKSPACE_OFFSET || DUAL_X_CARRIAGE || DELTA
#if HAS_M206_COMMAND #if HAS_M206_COMMAND
/** /**

View File

@ -318,7 +318,7 @@ void homeaxis(const AxisEnum axis);
#endif #endif
#if HAS_WORKSPACE_OFFSET || ENABLED(DUAL_X_CARRIAGE) #if HAS_WORKSPACE_OFFSET || ENABLED(DUAL_X_CARRIAGE) || ENABLED(DELTA)
void update_software_endstops(const AxisEnum axis); void update_software_endstops(const AxisEnum axis);
#endif #endif