AnHardt / Marlin

Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu
GNU General Public License v3.0
1 stars 1 forks source link

Z_RAISE_BEFORE_HOMING -> MIN_Z_HEIGHT_FOR_HOMING #28

Closed AnHardt closed 8 years ago

AnHardt commented 8 years ago

Replace Z_RAISE_BEFORE_HOMING with MIN_Z_HEIGHT_FOR_HOMING

This was made as a fix for#3001. jbrazio was faster.

Nerveless i'll take the chance to simplify z-raising in G28 a bit.

Make raising z work when AUTO_BED_LEVELING_FEATURE is disabled. Raise for homing every axis, but only once and only if not already high enough. Clean out some extra complications when Z_SAFE_HOMING is defined.