summaryrefslogtreecommitdiffstats
path: root/control/gen-fan-zone-defs.py
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/gen-fan-zone-defs.py
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/gen-fan-zone-defs.py')
-rwxr-xr-xcontrol/gen-fan-zone-defs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/control/gen-fan-zone-defs.py b/control/gen-fan-zone-defs.py
index 0ddfb63..3db9a40 100755
--- a/control/gen-fan-zone-defs.py
+++ b/control/gen-fan-zone-defs.py
@@ -125,7 +125,7 @@ def getActions(edata, actions, events):
else:
if p == 'timer':
param = (
- "Timer{static_cast<std::chrono::seconds>(" +
+ "TimerConf{static_cast<std::chrono::seconds>(" +
str(eActions[p]['delay']) + "), " +
"TimerType::" +
str(eActions[p]['type']) + "}")
OpenPOWER on IntegriCloud