diff options
Diffstat (limited to 'usrp/host/lib/inband/usrp_usb_interface.cc')
-rw-r--r-- | usrp/host/lib/inband/usrp_usb_interface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp/host/lib/inband/usrp_usb_interface.cc b/usrp/host/lib/inband/usrp_usb_interface.cc index cd77974c7..0d324789f 100644 --- a/usrp/host/lib/inband/usrp_usb_interface.cc +++ b/usrp/host/lib/inband/usrp_usb_interface.cc @@ -112,7 +112,7 @@ usrp_usb_interface::usrp_usb_interface(mb_runtime *rt, const std::string &instan pmt_intern("rf-freq"), PMT_NIL)) { if(!pmt_eqv(rf_freq, PMT_NIL)) - d_rf_freq = pmt_to_long(rf_freq); + d_rf_freq = pmt_to_double(rf_freq); } } |