]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/sensor.h
Refer to things in the driver with abstract ids instead of addresses
[r2c2.git] / source / libr2c2 / sensor.h
index 13aaca3fe8e9a060e94db659372ecfc3433cf13e..24f0fff401184c471186a33b146b5bdcce78897a 100644 (file)
@@ -25,6 +25,7 @@ public:
 protected:
        Layout &layout;
        unsigned address;
+       unsigned id;
        bool invert;
        State state;
        Msp::Time::TimeDelta state_confirm_timeout;