summaryrefslogtreecommitdiff
path: root/Sprinter/Sprinter.pde
diff options
context:
space:
mode:
authormidopple <mdoppler@gmx.at>2012-05-28 05:30:43 -0700
committermidopple <mdoppler@gmx.at>2012-05-28 05:30:43 -0700
commitaab62de29c0076cf69d589f6999f6c31c06119c4 (patch)
tree991c3c13c73aa8aa191d9a7559593c73873fcb54 /Sprinter/Sprinter.pde
parent9af0980080a97e572c21ad6ab2278116f78aec48 (diff)
parent9c708af22ec71ca97bbfe18cbb6d1c868faea9a9 (diff)
Merge pull request #176 from blddk/experimental
Error with DELAY_ENABLE Thanks to blddk
Diffstat (limited to 'Sprinter/Sprinter.pde')
-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);