Browse Source

Turn fans off in zero_fan_speeds

Addressing #13231
Scott Lahteine 6 years ago
parent
commit
02fec89a0d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/temperature.h

+ 1
- 1
Marlin/src/module/temperature.h View File

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
 

Loading…
Cancel
Save