ソースを参照

Turn fans off in zero_fan_speeds

Addressing #13231
Scott Lahteine 6年前
コミット
02fec89a0d
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/src/module/temperature.h

+ 1
- 1
Marlin/src/module/temperature.h ファイルの表示

381
 
381
 
382
     static inline void zero_fan_speeds() {
382
     static inline void zero_fan_speeds() {
383
       #if FAN_COUNT > 0
383
       #if FAN_COUNT > 0
384
-        FANS_LOOP(i) fan_speed[i] = 0;
384
+        FANS_LOOP(i) set_fan_speed(i, 0);
385
       #endif
385
       #endif
386
     }
386
     }
387
 
387
 

読み込み中…
キャンセル
保存