Browse Source

Make sure axis_active is cleared for #1908

Scott Lahteine 9 years ago
parent
commit
3f02da646c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/planner.cpp

+ 1
- 1
Marlin/planner.cpp View File

@@ -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…
Cancel
Save