path: root/Transceiver52M/USRPDevice.h
diff options
authorThomas Tsou <tom@tsou.cc>2013-04-08 14:41:11 -0400
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-06-24 01:46:34 +0400
commit03669856b74bd1e82a3986a5e05154fec88942ac (patch)
tree9b551232c252925a767c684a0e2eef2cac1ffe7c /Transceiver52M/USRPDevice.h
parent5d0e392b216c3c4e3d6d701650cb13e50e19c35a (diff)
Transceiver52M: Set resampling option automatically based on device
Remove the built time resampling selection and link both options. Move the normal push/pullBuffer() calls back to the base class and overload them in the inherited resampling class. USRP2/N2xx devices are the only devices that require resampling so return that resampling is necessary on the device open(), which is the point at which the device type will be known. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/USRPDevice.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/USRPDevice.h b/Transceiver52M/USRPDevice.h
index 1417beb..f5bc939 100644
--- a/Transceiver52M/USRPDevice.h
+++ b/Transceiver52M/USRPDevice.h
@@ -115,7 +115,7 @@ private:
USRPDevice(int sps, bool skipRx);
/** Instantiate the USRP */
- bool open(const std::string &);
+ int open(const std::string &);
/** Start the USRP */
bool start();