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>
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 @@
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 @@
/** destructor */
~RadioInterface();
- void setSamplesPerSymbol(int wSamplesPerSymbol) {if (!mOn) samplesPerSymbol = wSamplesPerSymbol;}
-
- int getSamplesPerSymbol() { return samplesPerSymbol;}
-
/** check for underrun, resets underrun value */
bool isUnderrun();