aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/device/usrp1/USRPDevice.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-03-12 19:08:46 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-03-12 19:34:28 +0100
commitf8c0c464b84f6ca44c7a50623909e1a4aace0a1e (patch)
tree1eb8871d7f7bb67ed18b99a67f06f06848f8ae9e /Transceiver52M/device/usrp1/USRPDevice.h
parent93707d02275686780657fc78c72beaa805faf1f1 (diff)
radioDevice: Drop unused RSSI param from readSamples API
The out "RSSI" parameter is only filled by USRPDevice, and not used at all by any user of the API (radioInterface*.cpp). RSSI seems to be computed nowadays in the common path in Transceiver::pullRadioVector(). Change-Id: I06c2ea5a9891d170bc468f952bbf2a7e64d95784
Diffstat (limited to 'Transceiver52M/device/usrp1/USRPDevice.h')
-rw-r--r--Transceiver52M/device/usrp1/USRPDevice.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Transceiver52M/device/usrp1/USRPDevice.h b/Transceiver52M/device/usrp1/USRPDevice.h
index 47f2a43..0cf5ec3 100644
--- a/Transceiver52M/device/usrp1/USRPDevice.h
+++ b/Transceiver52M/device/usrp1/USRPDevice.h
@@ -117,12 +117,10 @@ private:
@param overrun Set if read buffer has been overrun, e.g. data not being read fast enough
@param timestamp The timestamp of the first samples to be read
@param underrun Set if USRP does not have data to transmit, e.g. data not being sent fast enough
- @param RSSI The received signal strength of the read result
@return The number of samples actually read
*/
int readSamples(std::vector<short *> &buf, int len, bool *overrun,
- TIMESTAMP timestamp = 0xffffffff, bool *underrun = NULL,
- unsigned *RSSI = NULL);
+ TIMESTAMP timestamp = 0xffffffff, bool *underrun = NULL);
/**
Write samples to the USRP.
@param buf Contains the data to be written.