diff options
| author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-05 11:48:39 -0500 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-13 16:26:06 -0500 |
| commit | 3c344d3a6ab7066a8fe8b05e7e9d6802b00ab60e (patch) | |
| tree | dbf7b684fbae3c68645d7e93aae00f9c10755fdf /mainloop.cpp | |
| parent | 75017aef4bcabf888d356984038f817737593128 (diff) | |
| download | phosphor-hwmon-3c344d3a6ab7066a8fe8b05e7e9d6802b00ab60e.tar.gz phosphor-hwmon-3c344d3a6ab7066a8fe8b05e7e9d6802b00ab60e.zip | |
Add sensor state
Add another associative container of hwmon sensor instances that
maps assorted data required to maintain the state of dbus objects.
Change-Id: I12dc7eda88e49942d98216fd06557bba87c9431c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'mainloop.cpp')
| -rw-r--r-- | mainloop.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mainloop.cpp b/mainloop.cpp index 746e032..8c21566 100644 --- a/mainloop.cpp +++ b/mainloop.cpp @@ -36,7 +36,8 @@ MainLoop::MainLoop( _shutdown(false), _path(path), _prefix(prefix), - _root(root) + _root(root), + state() { if (_path.back() == '/') { |

