summaryrefslogtreecommitdiffstats
path: root/control/templates/fan_zone_defs.mako.cpp
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-10-30 18:39:21 -0700
committerWilliam A. Kennington III <wak@google.com>2018-10-31 12:28:53 -0700
commit122b843fdef01a66c602d1270d50b7db576e7167 (patch)
treeb229c361c9394955aca741b78edf394b53a4ef2e /control/templates/fan_zone_defs.mako.cpp
parent0ce353ec8de4cd7b7dc48474b0c0ff8894816316 (diff)
downloadphosphor-fan-presence-122b843fdef01a66c602d1270d50b7db576e7167.tar.gz
phosphor-fan-presence-122b843fdef01a66c602d1270d50b7db576e7167.zip
control: Rename Timer -> TimerConf
It is confusing to read some of the type definitions that deal with timers when Timer could mean a timer instantiation or a set of timer configuration parameters. This change disambiguates the two types. Tested: Built and run through unit tests. Change-Id: I9dd6b47886747d56a86b6a50eb9a74a331d0a1fe Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'control/templates/fan_zone_defs.mako.cpp')
-rw-r--r--control/templates/fan_zone_defs.mako.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/control/templates/fan_zone_defs.mako.cpp b/control/templates/fan_zone_defs.mako.cpp
index e735e0d..fdf5bb2 100644
--- a/control/templates/fan_zone_defs.mako.cpp
+++ b/control/templates/fan_zone_defs.mako.cpp
@@ -120,7 +120,7 @@ const std::vector<ZoneGroup> Manager::_zoneLayouts
),
%endif
},
- Timer{
+ TimerConf{
${event['pc']['pctime']['interval']},
${event['pc']['pctime']['type']}
},
OpenPOWER on IntegriCloud