Browse Source

🩹 Init fan speed at boot (#23181)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Robby Candra 2 years ago
parent
commit
26689e1d85
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/planner.cpp

+ 1
- 1
Marlin/src/module/planner.cpp View File

@@ -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
 

Loading…
Cancel
Save