prusa3d / Prusa-Firmware

Firmware for Original Prusa i3 3D printer by PrusaResearch
GNU General Public License v3.0
1.99k stars 1.05k forks source link

Xyzcal use stallguard during z cal #4608

Closed leptun closed 4 months ago

leptun commented 4 months ago

Properly enable the stallguard during the Z calibration part of the XYZ calibration. Also added some debug code for the currents which can be enabled

github-actions[bot] commented 4 months ago
Target ΔFlash (bytes) ΔSRAM (bytes)
MK3S_MULTILANG 0 0
MK3_MULTILANG 0 0
gudnimg commented 4 months ago

I looked at the code and see the following things which need to be tested:

  1. M45 Z (to set onlyZ = true)
  2. XYZ calibration => Specifically the Z-axis lift just before the user is asked to place the steel sheet on again
  3. Calibration Wizard calls gcode_M45(true, 0). I would think M45 Z should cover this, but maybe @3d-gussner can double check

I'll try find some time to test at least 1) and 2) and report here later.