Home
last modified time | relevance | path

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

/openbmc/phosphor-fan-presence/presence/
H A Dfallback.cpp39 auto it = std::find_if(std::next(activeSensor), sensors.end(), in stateChanged()
46 activeSensor->get().stop(); in stateChanged()
49 while (activeSensor != it) in stateChanged()
52 activeSensor->get().fail(); in stateChanged()
53 ++activeSensor; in stateChanged()
59 activeSensor = it; in stateChanged()
85 if (activeSensor == sensors.end()) in monitor()
89 activeSensor = sensors.begin(); in monitor()
92 if (activeSensor != sensors.begin()) in monitor()
102 while (it != activeSensor) in monitor()
[all …]
H A Dfallback.hpp49 activeSensor = sensors.begin(); in Fallback()
87 decltype(sensors)::iterator activeSensor; member in phosphor::fan::presence::Fallback