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>
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 @@
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']) + "}")