aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.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/Transceiver.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/Transceiver.h')
-rw-r--r--Transceiver52M/Transceiver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index 30eb7b9..91d92b2 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -126,7 +126,7 @@ private:
signalVector *gsmPulse; ///< the GSM shaping pulse for modulation
- int mSamplesPerSymbol; ///< number of samples per GSM symbol
+ int mSPS; ///< number of samples per GSM symbol
bool mOn; ///< flag to indicate that transceiver is powered on
ChannelCombination mChanType[8]; ///< channel types for all timeslots
@@ -153,13 +153,13 @@ public:
/** Transceiver constructor
@param wBasePort base port number of UDP sockets
@param TRXAddress IP address of the TRX manager, as a string
- @param wSamplesPerSymbol number of samples per GSM symbol
+ @param wSPS number of samples per GSM symbol
@param wTransmitLatency initial setting of transmit latency
@param radioInterface associated radioInterface object
*/
Transceiver(int wBasePort,
const char *TRXAddress,
- int wSamplesPerSymbol,
+ int wSPS,
GSM::Time wTransmitLatency,
RadioInterface *wRadioInterface);