Ver código fonte

🩹 Init fan speed at boot (#23181)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Robby Candra 2 anos atrás
pai
commit
26689e1d85
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      Marlin/src/module/planner.cpp

+ 1
- 1
Marlin/src/module/planner.cpp Ver arquivo

@@ -1309,7 +1309,7 @@ void Planner::check_axes_activity() {
1309 1309
   #endif
1310 1310
 
1311 1311
   #if HAS_TAIL_FAN_SPEED
1312
-    static uint8_t tail_fan_speed[FAN_COUNT];
1312
+    static uint8_t tail_fan_speed[FAN_COUNT] = ARRAY_N_1(FAN_COUNT, 255);
1313 1313
     bool fans_need_update = false;
1314 1314
   #endif
1315 1315
 

Carregando…
Cancelar
Salvar