Browse Source

Merge pull request #1626 from Wurstnase/fix_backslash_macro

fix macro
alexborro 9 years ago
parent
commit
f5f99c4883
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/stepper.cpp

+ 2
- 2
Marlin/stepper.cpp View File

529
         #endif
529
         #endif
530
 
530
 
531
         #define STEP_IF_COUNTER(axis, AXIS) \
531
         #define STEP_IF_COUNTER(axis, AXIS) \
532
-          if (counter_## axis > 0) {
532
+          if (counter_## axis > 0) { \
533
             counter_## axis -= current_block->step_event_count; \
533
             counter_## axis -= current_block->step_event_count; \
534
             count_position[AXIS ##_AXIS] += count_direction[AXIS ##_AXIS]; \
534
             count_position[AXIS ##_AXIS] += count_direction[AXIS ##_AXIS]; \
535
-            AXIS ##_STEP_WRITE(LOW);
535
+            AXIS ##_STEP_WRITE(LOW); \
536
           }
536
           }
537
 
537
 
538
         STEP_IF_COUNTER(x, X);
538
         STEP_IF_COUNTER(x, X);

Loading…
Cancel
Save