Update comment on set_home_offset

This commit is contained in:
Scott Lahteine 2018-01-22 06:14:50 -06:00
parent a29ca4947e
commit 049898fa30

View File

@ -1362,12 +1362,8 @@ bool get_target_extruder_from_command(const uint16_t code) {
#if HAS_M206_COMMAND #if HAS_M206_COMMAND
/** /**
* Change the home offset for an axis, update the current * Change the home offset for an axis.
* position and the software endstops to retain the same * Also refreshes the workspace offset.
* relative distance to the new home.
*
* Since this changes the current_position, code should
* call sync_plan_position soon after this.
*/ */
static void set_home_offset(const AxisEnum axis, const float v) { static void set_home_offset(const AxisEnum axis, const float v) {
home_offset[axis] = v; home_offset[axis] = v;