diff options
author | Tom Tsou <tom.tsou@ettus.com> | 2016-03-06 01:28:40 -0800 |
---|---|---|
committer | Tom Tsou <tom.tsou@ettus.com> | 2016-03-06 19:11:05 -0800 |
commit | 5cd70dc4ec6a658c2835c805a8b941351c90ccb0 (patch) | |
tree | 571f45571df6ed78ec04fb19a607aabcc4feb815 /Transceiver52M/USRPDevice.cpp | |
parent | 465694027b297d624f1a87803c46b1ed46d5be95 (diff) |
EDGE: Setup variable sampling on receive path
Allow setting the device to non single SPS sample rates - mainly
running at 4 SPS as the signal processing library does not support
other rates. Wider bandwith support is required on the receive path
to avoid 8-PSK bandlimiting distortion for EDGE.
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'Transceiver52M/USRPDevice.cpp')
-rw-r--r-- | Transceiver52M/USRPDevice.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Transceiver52M/USRPDevice.cpp b/Transceiver52M/USRPDevice.cpp index 568f0e5..bf6ccca 100644 --- a/Transceiver52M/USRPDevice.cpp +++ b/Transceiver52M/USRPDevice.cpp @@ -59,7 +59,7 @@ const dboardConfigType dboardConfig = TXA_RXB; const double USRPDevice::masterClockRate = 52.0e6; -USRPDevice::USRPDevice(size_t sps, size_t, bool) +USRPDevice::USRPDevice(size_t sps) { LOG(INFO) << "creating USRP device..."; @@ -600,7 +600,8 @@ bool USRPDevice::setTxFreq(double wFreq) { return true;}; bool USRPDevice::setRxFreq(double wFreq) { return true;}; #endif -RadioDevice *RadioDevice::make(size_t sps, size_t chans, bool diversity, double) +RadioDevice *RadioDevice::make(size_t tx_sps, size_t rx_sps, + size_t chans, bool diversity, double) { - return new USRPDevice(sps, chans, diversity); + return new USRPDevice(tx_sps); } |