diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-06-12 13:13:02 -0500 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2017-06-26 09:24:41 -0500 |
commit | 1de66629a31ee2a4751b2f30c5baa11464ba5aad (patch) | |
tree | d908cf562395a0b978a8b36be20ba22e24af0215 /control/types.hpp | |
parent | 9e741ed099a77ed2638b852027e751b90f67450d (diff) | |
download | phosphor-fan-presence-1de66629a31ee2a4751b2f30c5baa11464ba5aad.tar.gz phosphor-fan-presence-1de66629a31ee2a4751b2f30c5baa11464ba5aad.zip |
Add default floor speed support
Change-Id: Id2d3b362e79e7a8c2330181f68ae11e43f84e2fd
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/types.hpp')
-rw-r--r-- | control/types.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/control/types.hpp b/control/types.hpp index de56186..6e99950 100644 --- a/control/types.hpp +++ b/control/types.hpp @@ -58,10 +58,12 @@ using EventData = std::tuple<Group, Handler, Action>; constexpr auto zoneNumPos = 0; constexpr auto fullSpeedPos = 1; -constexpr auto fanListPos = 2; -constexpr auto setSpeedEventsPos = 3; +constexpr auto floorSpeedPos = 2; +constexpr auto fanListPos = 3; +constexpr auto setSpeedEventsPos = 4; using ZoneDefinition = std::tuple<size_t, - unsigned int, + uint64_t, + uint64_t, std::vector<FanDefinition>, std::vector<SetSpeedEvent>>; |