PFW-1386 if automatic = false, raising Z-axis is done via gcode

This commit is contained in:
Guðni Már Gilbert 2022-08-27 09:42:13 +00:00 committed by D.R.racer
parent 32ec1587b9
commit d6564d3617
1 changed files with 6 additions and 1 deletions

View File

@ -5255,7 +5255,12 @@ void unload_filament(bool automatic)
lcd_setstatuspgm(_T(MSG_UNLOADING_FILAMENT));
FSensorBlockRunout fsBlockRunout;
raise_z_above(automatic? MIN_Z_FOR_SWAP: MIN_Z_FOR_UNLOAD);
if (automatic)
{
// M600
raise_z_above(MIN_Z_FOR_SWAP);
}
// extr_unload2();