summaryrefslogtreecommitdiffstats
path: root/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: writePath is the dbus object path for the sensorPatrick Venture2019-07-161-2/+1
| | | | | | | | | | For the sensor, if writePath is used for dbus active, it is always FanPwm (presently) and needs to be the object path. Tested: Not tested, only code inspected. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I4eafaff4316aac9dab9a2c9e1bd61093a670b023
* style: function names should be lower camelPatrick Venture2018-10-301-2/+2
| | | | | | | Fix function names to be lower camel. Change-Id: I145e1f4c03d7740bc1525dcffbdce2f78fd61075 Signed-off-by: Patrick Venture <venture@google.com>
* add .clang-formatPatrick Venture2018-08-311-5/+2
| | | | | Change-Id: I6627b5569c2e0f730be7331403218b823a2c622f Signed-off-by: Patrick Venture <venture@google.com>
* Add ability to configure from dbusJames Feist2018-07-231-0/+6
| | | | | | | | | | | | | | This allows configuration of PID control from dbus using entity manager. Sample configuration will be pushed to entity-manager repo shortly. Tested-by: Used yaml configuration and dbus / entity-manager based configuration and pid seemed to work the same. Verified printout of configuration matched generated cpp files. Change-Id: Ia7b016e53262791ffcccdb9b21c1ccddae2926bc Signed-off-by: James Feist <james.feist@linux.intel.com>
* util: remove unused variablePatrick Venture2018-05-101-4/+0
| | | | | | | Variable became obsolete and was left in although unused. Change-Id: I2953c1eea836fb96812a8834f1776aff16b76745 Signed-off-by: Patrick Venture <venture@google.com>
* Scripts and main daemonPatrick Venture2018-03-081-0/+72
This includes the scripts for the YAML parsing and the main execution point. Change-Id: If42154c621353b23370b63d4e58f6c75bca8b356 Signed-off-by: Patrick Venture <venture@google.com>
OpenPOWER on IntegriCloud