summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblddk <michael.andresen@gmail.com>2012-05-24 21:07:35 +0300
committerblddk <michael.andresen@gmail.com>2012-05-24 21:07:35 +0300
commit344235701b086f514ef9fa4fb928cb60bb2e4a78 (patch)
tree406fd8f0c05c88ef4b1d67d35c0622db89e8c7b7
parentc17bbb3296e562c48d2f8182c1b0e1669299d0ad (diff)
Too many if('s
-rw-r--r--Sprinter/Sprinter.pde4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde
index 8801973..e76f1c4 100644
--- a/Sprinter/Sprinter.pde
+++ b/Sprinter/Sprinter.pde
@@ -2502,12 +2502,12 @@ void plan_buffer_line(float x, float y, float z, float e, float feed_rate)
enable_y();
delayMicroseconds(DELAY_ENABLE);
}
- if(if(block->steps_z != 0))
+ if(block->steps_z != 0)
{
enable_z();
delayMicroseconds(DELAY_ENABLE);
}
- if(if(block->steps_e != 0))
+ if(block->steps_e != 0)
{
enable_e();
delayMicroseconds(DELAY_ENABLE);