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

@@ -423,7 +423,7 @@ void MarlinUI::draw_status_screen() {
if (spd) {
#if ENABLED(ADAPTIVE_FAN_SLOWING)
if (!blink && thermalManager.fan_speed_scaler[0] < 128) {
spd = (spd * thermalManager.fan_speed_scaler[0]) >> 7;
spd = thermalManager.scaledFanSpeed(0, spd);
c = '*';
}
#endif