Home
last modified time | relevance | path

Searched refs:roundValue (Results 1 – 1 of 1) sorted by relevance

/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp137 auto roundValue = std::round(scaledValue * pwmMax); in PwmSensor() local
138 setValue(static_cast<uint32_t>(roundValue)); in PwmSensor()
148 auto roundValue = std::round(scaledValue * targetIfaceMax); in PwmSensor() local
149 auto value = static_cast<uint64_t>(roundValue); in PwmSensor()