sysclk: remove getfanrotationlevel, get it directly
This commit is contained in:
@@ -608,7 +608,7 @@ std::uint32_t Board::GetPartLoad(SysClkPartLoad loadSource)
|
|||||||
batteryInfoGetChargeInfo(&info);
|
batteryInfoGetChargeInfo(&info);
|
||||||
return info.RawBatteryCharge;
|
return info.RawBatteryCharge;
|
||||||
case HocClkPartLoad_FAN:
|
case HocClkPartLoad_FAN:
|
||||||
return GetFanRotationLevel();
|
return fanLevel;
|
||||||
default:
|
default:
|
||||||
ASSERT_ENUM_VALID(SysClkPartLoad, loadSource);
|
ASSERT_ENUM_VALID(SysClkPartLoad, loadSource);
|
||||||
}
|
}
|
||||||
@@ -755,8 +755,3 @@ std::uint32_t Board::GetVoltage(HocClkVoltage voltage)
|
|||||||
|
|
||||||
return out > 0 ? out : 0;
|
return out > 0 ? out : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 Board::GetFanRotationLevel() {
|
|
||||||
return fanLevel;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user