Minor code cleanup, move NUM_AXIS out of config
This commit is contained in:
parent
abd7fc36b6
commit
e0d4368cb5
14 changed files with 80 additions and 43 deletions
|
|
@ -614,7 +614,7 @@ float junction_deviation = 0.1;
|
|||
#if EXTRUDERS > 1
|
||||
case 1:
|
||||
enable_e1();
|
||||
g_uc_extruder_last_move[1] = BLOCK_BUFFER_SIZE*2;
|
||||
g_uc_extruder_last_move[1] = BLOCK_BUFFER_SIZE * 2;
|
||||
if (g_uc_extruder_last_move[0] == 0) disable_e0();
|
||||
#if EXTRUDERS > 2
|
||||
if (g_uc_extruder_last_move[2] == 0) disable_e2();
|
||||
|
|
@ -626,7 +626,7 @@ float junction_deviation = 0.1;
|
|||
#if EXTRUDERS > 2
|
||||
case 2:
|
||||
enable_e2();
|
||||
g_uc_extruder_last_move[2] = BLOCK_BUFFER_SIZE*2;
|
||||
g_uc_extruder_last_move[2] = BLOCK_BUFFER_SIZE * 2;
|
||||
if (g_uc_extruder_last_move[0] == 0) disable_e0();
|
||||
if (g_uc_extruder_last_move[1] == 0) disable_e1();
|
||||
#if EXTRUDERS > 3
|
||||
|
|
@ -636,7 +636,7 @@ float junction_deviation = 0.1;
|
|||
#if EXTRUDERS > 3
|
||||
case 3:
|
||||
enable_e3();
|
||||
g_uc_extruder_last_move[3] = BLOCK_BUFFER_SIZE*2;
|
||||
g_uc_extruder_last_move[3] = BLOCK_BUFFER_SIZE * 2;
|
||||
if (g_uc_extruder_last_move[0] == 0) disable_e0();
|
||||
if (g_uc_extruder_last_move[1] == 0) disable_e1();
|
||||
if (g_uc_extruder_last_move[2] == 0) disable_e2();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue