Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions meta-opencentauri/recipes-apps/klipper/files/calibration.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,14 @@ gcode:
G4 P1000
RUN_SHELL_COMMAND CMD=CAMERA_START

SET_DISPLAY_TEXT MSG="Performing extruder PID calibration"
SET_DISPLAY_TEXT MSG="Performing extruder calibration"
MOVE_TO_TRAY
PID_CALIBRATE HEATER=extruder TARGET={hotend_temperature} TOLERANCE=0.03
{% set extruder_control = printer.configfile.settings.extruder.control|default('pid') %}
{% if extruder_control == 'mpc' %}
MPC_CALIBRATE HEATER=extruder TARGET={hotend_temperature}
{% else %}
PID_CALIBRATE HEATER=extruder TARGET={hotend_temperature} TOLERANCE=0.03
{% endif %}
CLEAN_NOZZLE
M400

Expand Down