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 | |
Patrick Venture | c54fbd8 | 2018-10-30 19:40:05 -0700 | [diff] [blame] | 9 | std::map<int64_t, struct ZoneConfig> zoneDetailsConfig = { |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 10 | % for zone in ZoneDict.iterkeys(): |
| 11 | % if zone: |
| 12 | <% |
| 13 | zConf = ZoneDict[zone] |
Patrick Venture | 8e2fdb3 | 2019-02-11 09:39:59 -0800 | [diff] [blame] | 14 | min = zConf["minThermalRpm"] |
| 15 | percent = zConf["failsafePercent"] |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 16 | %> |
| 17 | {${zone}, |
| 18 | {${min}, ${percent}}, |
| 19 | }, |
| 20 | % endif |
| 21 | % endfor |
| 22 | }; |