Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 1 | ## This file is a template. The comment below is emitted |
| 2 | ## into the rendered file; feel free to edit this file. |
| 3 | |
| 4 | // !!! WARNING: This is GENERATED Code... Please do NOT edit !!! |
| 5 | |
| 6 | #include <map> |
| 7 | #include "conf.hpp" |
| 8 | |
| 9 | std::map<int64_t, struct zone> ZoneDetailsConfig = { |
| 10 | % for zone in ZoneDict.iterkeys(): |
| 11 | % if zone: |
| 12 | <% |
| 13 | zConf = ZoneDict[zone] |
| 14 | min = zConf["minthermalrpm"] |
| 15 | percent = zConf["failsafepercent"] |
| 16 | %> |
| 17 | {${zone}, |
| 18 | {${min}, ${percent}}, |
| 19 | }, |
| 20 | % endif |
| 21 | % endfor |
| 22 | }; |