]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/arducontrol.h
Keep track of the active accessory bit index
[r2c2.git] / source / libr2c2 / arducontrol.h
index 1f45534a1ca472ee22cfbd40159fe2be806cf7a7..75b9dc8cb8f4d283e4b0e0aa3b775192fa1357d4 100644 (file)
@@ -269,6 +269,7 @@ private:
                ArduControl &control;
                unsigned n_octets;
                unsigned octets_remaining;
+               unsigned delay;
 
        public:
                S88Task(ArduControl &);
@@ -352,6 +353,7 @@ private:
        AccessoryMap accessories;
        AccessoryPtrList accessory_queue;
        Accessory *active_accessory;
+       unsigned char active_index;
        Msp::Time::TimeStamp off_timeout;
 
        SensorMap sensors;
@@ -368,7 +370,7 @@ private:
        static ProtocolInfo protocol_info[2];
 
 public:
-       ArduControl(const std::string &);
+       ArduControl(const Options &);
        ~ArduControl();
 
        virtual void set_power(bool);