瀏覽代碼

Make sure axis_active is cleared for #1908

Scott Lahteine 9 年之前
父節點
當前提交
3f02da646c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/planner.cpp

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

@@ -393,7 +393,7 @@ void plan_init() {
393 393
 #endif
394 394
 
395 395
 void check_axes_activity() {
396
-  unsigned char axis_active[NUM_AXIS],
396
+  unsigned char axis_active[NUM_AXIS] = { 0 },
397 397
                 tail_fan_speed = fanSpeed;
398 398
   #ifdef BARICUDA
399 399
     unsigned char tail_valve_pressure = ValvePressure,

Loading…
取消
儲存