mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-05 21:14:05 -06:00
extruder: Deprecate old extruder commands and shared_heater config option
Deprecate SET_EXTRUDER_STEP_DISTANCE and SYNC_STEPPER_TO_EXTRUDER. Recommend using SET_EXTRUDER_ROTATION_DISTANCE and SYNC_EXTRUDER_MOTION. Deprecate the extruder "shared_heater" option and reocmmend using extruder_stepper config sections to obtain the same functionality. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
2af8c5aa86
commit
2e17519a7e
4 changed files with 16 additions and 20 deletions
|
@ -150,6 +150,7 @@ class PrinterExtruder:
|
|||
if shared_heater is None:
|
||||
self.heater = pheaters.setup_heater(config, gcode_id)
|
||||
else:
|
||||
config.deprecate('shared_heater')
|
||||
self.heater = pheaters.lookup_heater(shared_heater)
|
||||
# Setup kinematic checks
|
||||
self.nozzle_diameter = config.getfloat('nozzle_diameter', above=0.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue