Browse Source

🩹 Fan speed followup

Scott Lahteine 3 years ago
parent
commit
9778b67e84
1 changed files with 1 additions and 6 deletions
  1. 1
    6
      Marlin/src/module/planner.cpp

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

1392
   // Update Fan speeds
1392
   // Update Fan speeds
1393
   // Only if synchronous M106/M107 is disabled
1393
   // Only if synchronous M106/M107 is disabled
1394
   //
1394
   //
1395
-  #if HAS_TAIL_FAN_SPEED
1396
-    if (fans_need_update) {
1397
-      sync_fan_speeds(tail_fan_speed);
1398
-      fans_need_update = false;
1399
-    }
1400
-  #endif
1395
+  TERN_(HAS_TAIL_FAN_SPEED, if (fans_need_update) sync_fan_speeds(tail_fan_speed));
1401
 
1396
 
1402
   TERN_(AUTOTEMP, autotemp_task());
1397
   TERN_(AUTOTEMP, autotemp_task());
1403
 
1398
 

Loading…
Cancel
Save