🎨 Misc. code cleanup

This commit is contained in:
Scott Lahteine
2021-05-11 10:47:32 -05:00
committed by Scott Lahteine
parent 5afb5e03b0
commit 02e131b5fd
8 changed files with 12 additions and 20 deletions

View File

@ -113,10 +113,7 @@
void move_extruder_servo(const uint8_t e) {
planner.synchronize();
#if EXTRUDERS & 1
if (e < EXTRUDERS - 1)
#endif
{
if ((EXTRUDERS & 1) && e < EXTRUDERS - 1) {
MOVE_SERVO(_SERVO_NR(e), servo_angles[_SERVO_NR(e)][e & 1]);
safe_delay(500);
}