瀏覽代碼

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,7 +381,7 @@ class Temperature {
381 381
 
382 382
     static inline void zero_fan_speeds() {
383 383
       #if FAN_COUNT > 0
384
-        FANS_LOOP(i) fan_speed[i] = 0;
384
+        FANS_LOOP(i) set_fan_speed(i, 0);
385 385
       #endif
386 386
     }
387 387
 

Loading…
取消
儲存