diff options
author | William A. Kennington III <wak@google.com> | 2018-10-30 18:39:21 -0700 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2018-10-31 12:28:53 -0700 |
commit | 122b843fdef01a66c602d1270d50b7db576e7167 (patch) | |
tree | b229c361c9394955aca741b78edf394b53a4ef2e /control/templates | |
parent | 0ce353ec8de4cd7b7dc48474b0c0ff8894816316 (diff) | |
download | phosphor-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')
-rw-r--r-- | control/templates/defs.mako | 2 | ||||
-rw-r--r-- | control/templates/fan_zone_defs.mako.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/control/templates/defs.mako b/control/templates/defs.mako index 0980f81..2fd3856 100644 --- a/control/templates/defs.mako +++ b/control/templates/defs.mako @@ -58,7 +58,7 @@ make_action(action::${a['name']} ), %endfor }, -Timer{ +TimerConf{ ${event['timer']['interval']}, ${event['timer']['type']} }, 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']} }, |