Browse Source

Merge pull request #1655 from thinkyhead/fix_count_direction_init

Fix count_direction initializer
pull/1/head
Scott Lahteine 10 years ago
parent
commit
0d869703ca
  1. 2
      Marlin/stepper.cpp

2
Marlin/stepper.cpp

@ -89,7 +89,7 @@ static bool old_x_min_endstop = false,
static bool check_endstops = true; static bool check_endstops = true;
volatile long count_position[NUM_AXIS] = { 0 }; volatile long count_position[NUM_AXIS] = { 0 };
volatile signed char count_direction[NUM_AXIS] = { 1 }; volatile signed char count_direction[NUM_AXIS] = { 1, 1, 1, 1 };
//=========================================================================== //===========================================================================

Loading…
Cancel
Save