summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_single_usrp_source.cc
diff options
context:
space:
mode:
authorJosh Blum2010-12-05 19:22:22 -0500
committerJosh Blum2010-12-05 19:22:22 -0500
commit7a9c22348819bd5db3b77c5c3dffb318d5c1ecf7 (patch)
tree1020467fbf2c08d4e2d72456010a264c2ef7c276 /gr-uhd/lib/uhd_single_usrp_source.cc
parente92f2cb6166631f3248ff846376693306eb8f6f1 (diff)
downloadgnuradio-7a9c22348819bd5db3b77c5c3dffb318d5c1ecf7.tar.gz
gnuradio-7a9c22348819bd5db3b77c5c3dffb318d5c1ecf7.tar.bz2
gnuradio-7a9c22348819bd5db3b77c5c3dffb318d5c1ecf7.zip
uhd: removed default value chan=0 in the cc files
Diffstat (limited to 'gr-uhd/lib/uhd_single_usrp_source.cc')
-rw-r--r--gr-uhd/lib/uhd_single_usrp_source.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/gr-uhd/lib/uhd_single_usrp_source.cc b/gr-uhd/lib/uhd_single_usrp_source.cc
index ac8cd07fc..c33c8c0b0 100644
--- a/gr-uhd/lib/uhd_single_usrp_source.cc
+++ b/gr-uhd/lib/uhd_single_usrp_source.cc
@@ -69,40 +69,40 @@ public:
}
uhd::tune_result_t set_center_freq(
- const uhd::tune_request_t tune_request, size_t chan = 0
+ const uhd::tune_request_t tune_request, size_t chan
){
return _dev->set_rx_freq(tune_request, chan);
}
- uhd::freq_range_t get_freq_range(size_t chan = 0){
+ uhd::freq_range_t get_freq_range(size_t chan){
return _dev->get_rx_freq_range(chan);
}
- void set_gain(float gain, size_t chan = 0){
+ void set_gain(float gain, size_t chan){
return _dev->set_rx_gain(gain, chan);
}
- float get_gain(size_t chan = 0){
+ float get_gain(size_t chan){
return _dev->get_rx_gain(chan);
}
- uhd::gain_range_t get_gain_range(size_t chan = 0){
+ uhd::gain_range_t get_gain_range(size_t chan){
return _dev->get_rx_gain_range(chan);
}
- void set_antenna(const std::string &ant, size_t chan = 0){
+ void set_antenna(const std::string &ant, size_t chan){
return _dev->set_rx_antenna(ant, chan);
}
- std::string get_antenna(size_t chan = 0){
+ std::string get_antenna(size_t chan){
return _dev->get_rx_antenna(chan);
}
- std::vector<std::string> get_antennas(size_t chan = 0){
+ std::vector<std::string> get_antennas(size_t chan){
return _dev->get_rx_antennas(chan);
}
- void set_bandwidth(double bandwidth, size_t chan = 0){
+ void set_bandwidth(double bandwidth, size_t chan){
return _dev->set_rx_bandwidth(bandwidth, chan);
}