From ea652045bb38651d99bcc53972a524f602c3b306 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 14 Jul 2018 11:46:12 +0800 Subject: Added a simple tool to create a fake sysfs backlight interface that invokes external commands. Some changes in the utility module to accomodate the new tool. Added an option to watch ALS readings. --- sensor_als.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sensor_als.hpp') diff --git a/sensor_als.hpp b/sensor_als.hpp index a010f2d..891af55 100644 --- a/sensor_als.hpp +++ b/sensor_als.hpp @@ -7,9 +7,11 @@ class SensorALS:public SensorBase { private: float value; + bool debug=false; protected: void enable_scan_elements(); public: + void set_debug(bool d); void update_values(); float get_value(); }; -- cgit v1.2.3