Explorar el Código

Make sure axis_active is cleared for #1908

Scott Lahteine hace 9 años
padre
commit
3f02da646c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/planner.cpp

+ 1
- 1
Marlin/planner.cpp Ver fichero

@@ -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…
Cancelar
Guardar