aboutsummaryrefslogtreecommitdiff
path: root/sensors.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2018-04-10 09:27:22 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2018-04-10 09:27:22 +0800
commitdd96de7379d68659eed8b4c795da1e4b57d3e734 (patch)
tree9a5cad0c413402bb2fdde627f9dc81f29ee1f371 /sensors.hpp
parent6bdb9028af9a5256fbb47b942843e49aef7e3aa1 (diff)
downloadlightsd-dd96de7379d68659eed8b4c795da1e4b57d3e734.tar.xz
Hopefully fixed some segmentation faults.
Added init script for OpenRC. Fixed compiler warnings.
Diffstat (limited to 'sensors.hpp')
-rw-r--r--sensors.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensors.hpp b/sensors.hpp
index 7d7da31..86ff6a1 100644
--- a/sensors.hpp
+++ b/sensors.hpp
@@ -46,7 +46,7 @@ class SensorBase
virtual void update_values()=0;
public:
virtual ~SensorBase(){}
- void init(int id,std::string _sensor_basename);
+ bool init(int id,std::string _sensor_basename);
void deinit();
void reset();
void worker();