aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_bursts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/examples/tx_bursts.cpp')
-rw-r--r--host/examples/tx_bursts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_bursts.cpp b/host/examples/tx_bursts.cpp
index 333e15939..fec89a0e4 100644
--- a/host/examples/tx_bursts.cpp
+++ b/host/examples/tx_bursts.cpp
@@ -101,7 +101,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
std::cout << boost::format("Setting TX Freq: %f MHz...") % (freq/1e6) << std::endl;
for(size_t i=0; i < channel_nums.size(); i++){
uhd::tune_request_t tune_request(freq);
- if(vm.count("int-n")) tune_request.args = uhd::device_addr_t("mode_n=int-n");
+ if(vm.count("int-n")) tune_request.args = uhd::device_addr_t("mode_n=integer");
usrp->set_tx_freq(tune_request, channel_nums[i]);
}
std::cout << boost::format("Actual TX Freq: %f MHz...") % (usrp->get_tx_freq()/1e6) << std::endl << std::endl;