Browse Source

Fix count_direction initializer

- Addressing #1625
Scott Lahteine 10 years ago
parent
commit
2176a22d42
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/stepper.cpp

+ 1
- 1
Marlin/stepper.cpp View File

89
 static bool check_endstops = true;
89
 static bool check_endstops = true;
90
 
90
 
91
 volatile long count_position[NUM_AXIS] = { 0 };
91
 volatile long count_position[NUM_AXIS] = { 0 };
92
-volatile signed char count_direction[NUM_AXIS] = { 1 };
92
+volatile signed char count_direction[NUM_AXIS] = { 1, 1, 1, 1 };
93
 
93
 
94
 
94
 
95
 //===========================================================================
95
 //===========================================================================

Loading…
Cancel
Save