Common method for scaled fan speed

This commit is contained in:
Scott Lahteine
2019-06-28 13:58:40 -05:00
parent 1a09c4dea5
commit a8d68b7c8a
7 changed files with 16 additions and 9 deletions

View File

@ -886,7 +886,7 @@ void MarlinUI::draw_status_screen() {
uint16_t spd = thermalManager.fan_speed[0];
if (blink) c = 'F';
#if ENABLED(ADAPTIVE_FAN_SLOWING)
else { c = '*'; spd = (spd * thermalManager.fan_speed_scaler[0]) >> 7; }
else { c = '*'; spd = thermalManager.scaledFanSpeed(0, spd); }
#endif
per = thermalManager.fanPercent(spd);
}