diff options
| author | James Feist <james.feist@linux.intel.com> | 2019-05-08 15:33:33 -0700 |
|---|---|---|
| committer | James Feist <james.feist@linux.intel.com> | 2019-05-08 15:33:33 -0700 |
| commit | 0c8223b5f5c280276d432eab5e32694a90451239 (patch) | |
| tree | 6f24c4f423e6578d99fab8581e706e535253b2cc /pid | |
| parent | 89002dbdd13eb4fa7f35f2db7566291f720fd885 (diff) | |
| download | phosphor-pid-control-0c8223b5f5c280276d432eab5e32694a90451239.tar.gz phosphor-pid-control-0c8223b5f5c280276d432eab5e32694a90451239.zip | |
Consolidate all util.hpp
This deletes all lower level util.hpp and cats them
into the top level util.hpp to avoid name conflicts.
Change-Id: Ia11e4a08053a3970b0aadf21d1156ab26def36bd
Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'pid')
| -rw-r--r-- | pid/util.cpp | 2 | ||||
| -rw-r--r-- | pid/util.hpp | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/pid/util.cpp b/pid/util.cpp index 5c6e5d4..0a8f892 100644 --- a/pid/util.cpp +++ b/pid/util.cpp @@ -14,6 +14,8 @@ * limitations under the License. */ +#include "util.hpp" + #include "ec/pid.hpp" #include <cstring> diff --git a/pid/util.hpp b/pid/util.hpp deleted file mode 100644 index c35f0b8..0000000 --- a/pid/util.hpp +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -#include "ec/pid.hpp" - -/* - * Given a configuration structure, fill out the information we use within the - * PID loop. - */ -void initializePIDStruct(ec::pid_info_t* info, const ec::pidinfo& initial); - -void dumpPIDStruct(ec::pid_info_t* info); |

