extruder: Support disassociating a stepper from all extruders

Support SYNC_STEPPER_TO_EXTRUDER commands with an EXTRUDER parameter
set to an empty string.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-01-11 18:13:21 -05:00
parent eb2a67cb95
commit 02d5f9754f
4 changed files with 40 additions and 5 deletions

View file

@ -1835,8 +1835,9 @@ more information.
```
[extruder_stepper my_extra_stepper]
#extruder: extruder
# The extruder this stepper is synchronized to. The default is
# "extruder".
# The extruder this stepper is synchronized to. If this is set to an
# empty string then the stepper will not be synchronized to an
# extruder. The default is "extruder".
#step_pin:
#dir_pin:
#enable_pin:

View file

@ -186,7 +186,9 @@ The following standard commands are supported:
command will cause the given extruder STEPPER (as specified in an
[extruder](Config_Reference#extruder) or
[extruder stepper](Config_Reference#extruder_stepper) config
section) to become synchronized to the given EXTRUDER.
section) to become synchronized to the given EXTRUDER. If EXTRUDER
is an empty string then the stepper will not be synchronized to an
extruder.
- `SET_STEPPER_ENABLE STEPPER=<config_name> ENABLE=[0|1]`: Enable or
disable only the given stepper. This is a diagnostic and debugging
tool and must be used with care. Disabling an axis motor does not