소스 검색

🩹 Init fan speed at boot (#23181)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Robby Candra 2 년 전
부모
커밋
26689e1d85
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/module/planner.cpp

+ 1
- 1
Marlin/src/module/planner.cpp 파일 보기

@@ -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…
취소
저장