From 05333f61b73959a76f954da8e8532d1b51e0978f Mon Sep 17 00:00:00 2001 From: wurstnase Date: Tue, 17 Mar 2015 12:50:44 +0100 Subject: [PATCH] fix macro --- Marlin/stepper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 780712ba7e..e9c58e9f4e 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -529,10 +529,10 @@ ISR(TIMER1_COMPA_vect) { #endif #define STEP_IF_COUNTER(axis, AXIS) \ - if (counter_## axis > 0) { + if (counter_## axis > 0) { \ counter_## axis -= current_block->step_event_count; \ count_position[AXIS ##_AXIS] += count_direction[AXIS ##_AXIS]; \ - AXIS ##_STEP_WRITE(LOW); + AXIS ##_STEP_WRITE(LOW); \ } STEP_IF_COUNTER(x, X);