if(!(performing_homing)||((performing_homing)&&(z_min_endstop&&old_z_min_endstop)&&(z2_min_endstop&&old_z2_min_endstop)))//if not performing home or if both endstops were trigged during homing...
// if (z_max_endstop && old_z_max_endstop) SERIAL_ECHOLN("z_max_endstop = true");
// if (z2_max_endstop && old_z2_max_endstop) SERIAL_ECHOLN("z2_max_endstop = true");
if(!(performing_homing)||((performing_homing)&&(z_max_endstop&&old_z_max_endstop)&&(z2_max_endstop&&old_z2_max_endstop)))//if not performing home or if both endstops were trigged during homing...