mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-19 08:08:25 +00:00
Update comment on set_home_offset
This commit is contained in:
parent
a29ca4947e
commit
049898fa30
1 changed files with 2 additions and 6 deletions
|
@ -1362,12 +1362,8 @@ bool get_target_extruder_from_command(const uint16_t code) {
|
|||
|
||||
#if HAS_M206_COMMAND
|
||||
/**
|
||||
* Change the home offset for an axis, update the current
|
||||
* position and the software endstops to retain the same
|
||||
* relative distance to the new home.
|
||||
*
|
||||
* Since this changes the current_position, code should
|
||||
* call sync_plan_position soon after this.
|
||||
* Change the home offset for an axis.
|
||||
* Also refreshes the workspace offset.
|
||||
*/
|
||||
static void set_home_offset(const AxisEnum axis, const float v) {
|
||||
home_offset[axis] = v;
|
||||
|
|
Loading…
Reference in a new issue