Z_endstop for Prusa i3 rework

An improvement for Z-endstop tuning on Prusa i3 rework (from eMotion Tech).