diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-03-12 19:35:33 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-03-12 19:35:47 +0100 |
commit | dfc6e5ffc786756bded94ea06eb2502720b28839 (patch) | |
tree | e00ef29a13aec44cdf08da79f239baaf7a18833c /Transceiver52M/device/common | |
parent | f8c0c464b84f6ca44c7a50623909e1a4aace0a1e (diff) |
radioDevice: Drop unused isControl param from WriteSamples API
The out "isControl" parameter is only used by internal callers of
USRPDevice, and not used at all by any user of the generic API
(radioInterface*.cpp). Hence, we can get rid of it and keep it as a flag
for an internal API of USRPDevice.
Change-Id: I843384e24b76cdd28a95f9ee4e95e6157098e4a3
Diffstat (limited to 'Transceiver52M/device/common')
-rw-r--r-- | Transceiver52M/device/common/radioDevice.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Transceiver52M/device/common/radioDevice.h b/Transceiver52M/device/common/radioDevice.h index c504b3a..0dc38d5 100644 --- a/Transceiver52M/device/common/radioDevice.h +++ b/Transceiver52M/device/common/radioDevice.h @@ -87,11 +87,10 @@ class RadioDevice { @param len number of samples to write. @param underrun Set if radio does not have data to transmit, e.g. data not being sent fast enough @param timestamp The timestamp of the first sample of the data buffer. - @param isControl Set if data is a control packet, e.g. a ping command @return The number of samples actually written */ virtual int writeSamples(std::vector<short *> &bufs, int len, bool *underrun, - TIMESTAMP timestamp, bool isControl = false) = 0; + TIMESTAMP timestamp) = 0; /** Update the alignment between the read and write timestamps */ virtual bool updateAlignment(TIMESTAMP timestamp)=0; |