Transceiver52M: Remove and rename oversampling variables
The transceiver only uses a single integer oversampling value,
which is more simply referred to as samples-per-symbol.
mRadioOversampling --> mSPS
mTransceiverOversampling (removed)
Signed-off-by: Thomas Tsou <tom@tsou.cc>
diff --git a/Transceiver52M/radioInterface.cpp b/Transceiver52M/radioInterface.cpp
index 65d5738..8ad72b0 100644
--- a/Transceiver52M/radioInterface.cpp
+++ b/Transceiver52M/radioInterface.cpp
@@ -29,12 +29,11 @@
RadioInterface::RadioInterface(RadioDevice *wRadio,
int wReceiveOffset,
- int wRadioOversampling,
- int wTransceiverOversampling,
+ int wSPS,
GSM::Time wStartTime)
: underrun(false), sendCursor(0), rcvCursor(0), mOn(false),
mRadio(wRadio), receiveOffset(wReceiveOffset),
- samplesPerSymbol(wRadioOversampling), powerScaling(1.0),
+ samplesPerSymbol(wSPS), powerScaling(1.0),
loadTest(false)
{
mClock.set(wStartTime);