diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-05 14:37:21 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-05 14:37:21 -0700 |
commit | 1cc8c6c964d4368d9e918e4cb357600453a24c94 (patch) | |
tree | 145cea809ec723f006ad384d267ddb6d9eccd249 /host/examples | |
parent | 12aa8ad74cf3a343159ddbb452455bf4e7f435b8 (diff) | |
download | uhd-1cc8c6c964d4368d9e918e4cb357600453a24c94.tar.gz uhd-1cc8c6c964d4368d9e918e4cb357600453a24c94.tar.bz2 uhd-1cc8c6c964d4368d9e918e4cb357600453a24c94.zip |
paradigm shift for the dsp abstraction
Diffstat (limited to 'host/examples')
-rw-r--r-- | host/examples/rx_timed_samples.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/rx_timed_samples.cpp b/host/examples/rx_timed_samples.cpp index 1292d9b27..7b06981b2 100644 --- a/host/examples/rx_timed_samples.cpp +++ b/host/examples/rx_timed_samples.cpp @@ -57,7 +57,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << boost::format("Using Device: %s") % sdev->get_name() << std::endl; //set properties on the device - double rx_rate = sdev->get_rx_rates()[4]; //pick some rate + double rx_rate = 100e6/16; //FIXME get this from somewhere std::cout << boost::format("Setting RX Rate: %f Msps...") % (rx_rate/1e6) << std::endl; sdev->set_rx_rate(rx_rate); std::cout << boost::format("Setting device timestamp to 0...") << std::endl; |