aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterface.h
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2013-08-20 15:41:45 -0400
committerThomas Tsou <tom@tsou.cc>2013-10-18 13:04:15 -0400
commitd24cc2cd9647c56c0103490c3a0bfc1dd13d6cd2 (patch)
tree4a4476a77a240903a41bd424b3ff4e83beb63f89 /Transceiver52M/radioInterface.h
parentddd6defb431ddca2d6f1293082fadcd7a044910a (diff)
Transceiver52M: Rename samples-per-symbol variable names
Because repeatedly typing mSamplesPerSymbol is giving me carpal tunnel syndrome. Replace with the much shorter, easier to type, and just as clear name of 'sps'. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioInterface.h')
-rw-r--r--Transceiver52M/radioInterface.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h
index 94d8917..a64702b 100644
--- a/Transceiver52M/radioInterface.h
+++ b/Transceiver52M/radioInterface.h
@@ -52,7 +52,7 @@ protected:
RadioClock mClock; ///< the basestation clock!
- int samplesPerSymbol; ///< samples per GSM symbol
+ int sps; ///< samples per GSM symbol
int receiveOffset; ///< offset b/w transmit and receive GSM timestamps, in timeslots
bool mOn; ///< indicates radio is on
@@ -94,10 +94,6 @@ public:
/** destructor */
~RadioInterface();
- void setSamplesPerSymbol(int wSamplesPerSymbol) {if (!mOn) samplesPerSymbol = wSamplesPerSymbol;}
-
- int getSamplesPerSymbol() { return samplesPerSymbol;}
-
/** check for underrun, resets underrun value */
bool isUnderrun();