mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-05-07 19:25:42 +02:00
hall_filament_width_sensor: Toggle for flow compensation
Adds a toggle to enable or disable flow compensation based on the filament width sensor readings without disabling the sensor entirely. Useful on printers where the hall effect sensor is too inaccurate to helpfully adjust the extrusion multiplier, but is good enough to act as a filament runout sensor. The new setting defaults to true to preserve the existing sensor behavior. Existing width sensor G-Code commands are updated to optionally enable and disable flow compensation and to show the state of the sensor and command outputs are normalized. Also includes updates to the relevant doc pages. Signed-off-by: Ben Lye ben@lye.co.nz
This commit is contained in:
@@ -5114,6 +5114,10 @@ adc2:
|
||||
#enable: False
|
||||
# Sensor enabled or disabled after power on. The default is to
|
||||
# disable.
|
||||
#enable_flow_compensation: True
|
||||
# Flow compensation enabled or disabled. If set to False, the sensor
|
||||
# will not modify the extrusion multiplier and will only trigger
|
||||
# runout events. The default is True.
|
||||
#measurement_interval: 10
|
||||
# The approximate distance (in mm) between sensor readings. The
|
||||
# default is 10mm.
|
||||
|
||||
Reference in New Issue
Block a user