]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/sensor.h
Support inverted sensors that give low output when active
[r2c2.git] / source / libr2c2 / sensor.h
index d3f472dbeef11370690360a20dd4d24be56d8a7b..f1525bf4d6a377d7e2b3fd6c1e07d462a9982ebf 100644 (file)
@@ -25,6 +25,7 @@ public:
 protected:
        Layout &layout;
        unsigned address;
+       bool invert;
        State state;
        Msp::Time::TimeDelta state_confirm_timeout;