Home
last modified time | relevance | path

Searched hist:a2bed6ed (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-fan-presence/control/
H A Dzone.cppa2bed6ed Thu Feb 14 16:07:00 CST 2019 Matthew Barth <msbarth@us.ibm.com> Initially use default current mode upon restoring

When restoring the persisted current mode, initially set the current
mode to what's already provided. When no interface is defined within the
zone yaml, a default value of "Default" is already set on the
Control.ThermalMode interface. If an interface is provided on the zone
yaml, and the Current property is initialized to a value, use this value
initially upon restoring. During the restore, this value could change to
what was persisted.

Tested:
Current mode is set correctly upon initialization & restore

Change-Id: I0fae247303903d85e95fc044c96fc1809df2fa03
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>