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