diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-06-22 11:23:30 -0500 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2017-07-06 17:11:00 -0500 |
commit | 240397b9b80437db77d8d01db2b187d02ef415f7 (patch) | |
tree | ff16b6ef8983899c02974c3b12454e133e2118b4 /control/actions.hpp | |
parent | 246235237c92bd6a55487bdd9fdc6b4b11466a7e (diff) | |
download | phosphor-fan-presence-240397b9b80437db77d8d01db2b187d02ef415f7.tar.gz phosphor-fan-presence-240397b9b80437db77d8d01db2b187d02ef415f7.zip |
Process speed increase requests
Speed increases are made providing a target speed delta. The increase is
made when the delta is higher than the current increase that may be
occurring. When no increase is currently happening, the increase delta
requested is accepted. All resulting target increases will not go above
a defined ceiling speed.
Change-Id: Ia19c71a023cf5b897d5ba92974ff98451f34d5a3
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/actions.hpp')
-rw-r--r-- | control/actions.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/control/actions.hpp b/control/actions.hpp index 60b5484..d4dedba 100644 --- a/control/actions.hpp +++ b/control/actions.hpp @@ -250,7 +250,8 @@ auto set_net_increase_speed(T&& state, uint64_t speedDelta) } } ); - // TODO Do a request speed change for target speed update + // Request speed change for target speed update + zone.requestSpeedIncrease(netDelta); }; } |