blob: 5314a9525ec8fb4d72443e1537c6a1d579e18d90 [file] [log] [blame]
#include "triggers.hpp"
namespace phosphor
{
namespace fan
{
namespace control
{
namespace trigger
{
using namespace phosphor::fan;
Trigger timer(TimerConf&& tConf)
{
return [tConf = std::move(tConf)](control::Zone& zone,
const Group& group,
const std::vector<Action>& actions)
{
zone.addTimer(group,
actions,
tConf);
};
}
} // namespace trigger
} // namespace control
} // namespace fan
} // namespace phosphor