xref: /openbmc/phosphor-fan-presence/presence/templates/fallback.mako.hpp (revision 3420426c93fe195e148b2ae9aefe2eed5afa2f47)
1 std::make_unique<Fallback>(
2 ${indent(1)}ConfigFans::get()[${f.fan}],
3 ${indent(1)}std::vector<std::reference_wrapper<PresenceSensor>>{
4 % for s in f.sensors:
5 ${indent(2)}*ConfigSensors::get()[${s}],
6 % endfor
7 ${indent(1)}})\
8