mirror of https://github.com/Desuuuu/klipper.git
extruder_stepper: Do not default to synching with "extruder" at startup
With recent changes, the extruder_stepper may be used for new purposes, and synchronizing to the "extruder" motion queue at startup may become a confusing default. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
6627d036ac
commit
4815a946c2
|
@ -8,6 +8,12 @@ All dates in this document are approximate.
|
|||
|
||||
## Changes
|
||||
|
||||
20220304: There is no longer a default for the `extruder` parameter of
|
||||
[extruder_stepper](Config_Reference.md#extruder_stepper) config
|
||||
sections. If desired, specify `extruder: extruder` explicitly to
|
||||
associate the stepper motor with the "extruder" motion queue at
|
||||
startup.
|
||||
|
||||
20220210: The `SYNC_STEPPER_TO_EXTRUDER` command is deprecated; the
|
||||
`SET_EXTRUDER_STEP_DISTANCE` command is deprecated; the
|
||||
[extruder](Config_Reference.md#extruder) `shared_heater` config option
|
||||
|
|
|
@ -1829,10 +1829,10 @@ See the [command reference](G-Codes.md#extruder) for more information.
|
|||
|
||||
```
|
||||
[extruder_stepper my_extra_stepper]
|
||||
#extruder: extruder
|
||||
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".
|
||||
# extruder. This parameter must be provided.
|
||||
#step_pin:
|
||||
#dir_pin:
|
||||
#enable_pin:
|
||||
|
|
|
@ -10,7 +10,7 @@ class PrinterExtruderStepper:
|
|||
def __init__(self, config):
|
||||
self.printer = config.get_printer()
|
||||
self.extruder_stepper = extruder.ExtruderStepper(config)
|
||||
self.extruder_name = config.get('extruder', 'extruder')
|
||||
self.extruder_name = config.get('extruder')
|
||||
self.printer.register_event_handler("klippy:connect",
|
||||
self.handle_connect)
|
||||
def handle_connect(self):
|
||||
|
|
|
@ -50,6 +50,7 @@ min_temp: 0
|
|||
max_temp: 210
|
||||
|
||||
[extruder_stepper my_extra_stepper]
|
||||
extruder: extruder
|
||||
step_pin: PH5
|
||||
dir_pin: PH6
|
||||
enable_pin: !PB5
|
||||
|
|
Loading…
Reference in New Issue