瀏覽代碼

Merge pull request #1655 from thinkyhead/fix_count_direction_init

Fix count_direction initializer
Scott Lahteine 9 年之前
父節點
當前提交
0d869703ca
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/stepper.cpp

+ 1
- 1
Marlin/stepper.cpp 查看文件

@@ -89,7 +89,7 @@ static bool old_x_min_endstop = false,
89 89
 static bool check_endstops = true;
90 90
 
91 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…
取消
儲存