aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/radioInterface.h')
-rw-r--r--Transceiver52M/radioInterface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h
index 83413cf..c2c4255 100644
--- a/Transceiver52M/radioInterface.h
+++ b/Transceiver52M/radioInterface.h
@@ -59,6 +59,7 @@ protected:
int receiveOffset; ///< offset b/w transmit and receive GSM timestamps, in timeslots
bool mOn; ///< indicates radio is on
+ int mUseCount; ///< Use counter
double powerScaling;
@@ -90,8 +91,9 @@ private:
public:
- /** start the interface */
+ /** Increase usage counter and start the interface if not started yet */
bool start();
+ /** Decrease usage counter and stop the interface if no users left */
bool stop();
bool started() { return mOn; };