aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/device/usrp1/USRPDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/device/usrp1/USRPDevice.cpp')
-rw-r--r--Transceiver52M/device/usrp1/USRPDevice.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Transceiver52M/device/usrp1/USRPDevice.cpp b/Transceiver52M/device/usrp1/USRPDevice.cpp
index 766a228..5eaca07 100644
--- a/Transceiver52M/device/usrp1/USRPDevice.cpp
+++ b/Transceiver52M/device/usrp1/USRPDevice.cpp
@@ -365,7 +365,7 @@ GSM::Time USRPDevice::minLatency() {
// NOTE: Assumes sequential reads
int USRPDevice::readSamples(std::vector<short *> &bufs, int len, bool *overrun,
- TIMESTAMP timestamp, bool *underrun, unsigned *RSSI)
+ TIMESTAMP timestamp, bool *underrun)
{
#ifndef SWLOOPBACK
if (!m_uRx)
@@ -433,8 +433,10 @@ int USRPDevice::readSamples(std::vector<short *> &bufs, int len, bool *overrun,
*underrun = true;
LOGC(DDEV, DEBUG) << "UNDERRUN in TRX->USRP interface";
}
- if (RSSI) *RSSI = (word0 >> 21) & 0x3f;
-
+#if 0
+ /* FIXME: Do something with this ? */
+ unsigned RSSI = (word0 >> 21) & 0x3f;
+#endif
if (!isAligned) continue;
unsigned cursorStart = pktTimestamp - timeStart + dataStart;