aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/kinematics/extruder.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-01-11 18:26:23 -0500
committerKevin O'Connor <kevin@koconnor.net>2022-02-10 13:25:16 -0500
commit2e17519a7efc225d699669ecfbd00d8cb6f10cae (patch)
treedb7f5af70d9e291a0816a3e6109b4b8193eb15d2 /klippy/kinematics/extruder.py
parent2af8c5aa8620019bb0fa4ada415f219a9e09b1db (diff)
downloadkutter-2e17519a7efc225d699669ecfbd00d8cb6f10cae.tar.gz
kutter-2e17519a7efc225d699669ecfbd00d8cb6f10cae.tar.xz
kutter-2e17519a7efc225d699669ecfbd00d8cb6f10cae.zip
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>
Diffstat (limited to 'klippy/kinematics/extruder.py')
-rw-r--r--klippy/kinematics/extruder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/kinematics/extruder.py b/klippy/kinematics/extruder.py
index 9b98eaf8..99d5daf8 100644
--- a/klippy/kinematics/extruder.py
+++ b/klippy/kinematics/extruder.py
@@ -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.)