Issue with Z homing on Ender 3 Pro with Marlin I've just changed the motherboard on my Ender 3 Pro with a MKS GEN_L v1.0 and flashed the latest Marlin version on it.
I've calibrated my bed manually using the default XY and Z auto home commands on OctoPrint and a piece of paper.
I'm happy with the calibration, however whenever I launch a print the Z axis moves up from the calibrated position by about 4 mm and starts extruding.
I've checked my Z endstop status with M119 and it's triggered at the right calibrated position.
How can I correct this?
I've actually found what the issue was. It turns out that my Z steps were way out of whack (i.e. 4000 steps/mm instead of 400). Apparently, that's the default value in GitHub for version 2.0 of Marlin. Not sure if that's a typo or a valid value, anyhow setting it to 400 fixed it.