Browse Source

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

pull/1/head
GMagician 7 years ago
committed by Scott Lahteine
parent
commit
ea9ad4e46d
  1. 4
      Marlin/src/module/motion.cpp
  2. 2
      Marlin/src/module/motion.h

4
Marlin/src/module/motion.cpp

@ -1304,7 +1304,7 @@ void homeaxis(const AxisEnum axis) {
#endif
} // 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
@ -1382,7 +1382,7 @@ void homeaxis(const AxisEnum axis) {
#endif
}
#endif // HAS_WORKSPACE_OFFSET || DUAL_X_CARRIAGE
#endif // HAS_WORKSPACE_OFFSET || DUAL_X_CARRIAGE || DELTA
#if HAS_M206_COMMAND
/**

2
Marlin/src/module/motion.h

@ -318,7 +318,7 @@ void homeaxis(const AxisEnum axis);
#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);
#endif

Loading…
Cancel
Save