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

@ -246,7 +246,7 @@ namespace ExtUI {
}
float getActualFan_percent(const fan_t fan) {
return thermalManager.fanPercent((thermalManager.fan_speed[fan - FAN0] * uint16_t(thermalManager.fan_speed_scaler[fan - FAN0])) >> 7);
return thermalManager.fanPercent(thermalManager.scaledFanSpeed(fan - FAN0));
}
float getAxisPosition_mm(const axis_t axis) {