Shorter code

This commit is contained in:
Guðni Már Gilbert 2022-12-31 15:50:29 +00:00 committed by DRracer
parent 8c79bab503
commit f1cd388370
1 changed files with 1 additions and 6 deletions

View File

@ -921,12 +921,7 @@ block->steps_y.wide = labs((target[X_AXIS]-position[X_AXIS]) - (target[Y_AXIS]-p
if(block->steps_y.wide != 0) enable_y();
#endif
if(block->steps_z.wide != 0) enable_z();
// Enable extruder
if(block->steps_e.wide != 0)
{
enable_e0();
}
if(block->steps_e.wide != 0) enable_e0();
if (block->steps_e.wide == 0)
{