Set num_recv_frames=512 as default UHD args

master
ismagom 11 years ago
parent ecb30a9014
commit 928dcb370a

@ -109,7 +109,7 @@ int cuhd_open(char *args, void **h)
{ {
cuhd_handler *handler = new cuhd_handler(); cuhd_handler *handler = new cuhd_handler();
std::string _args = std::string(args); std::string _args = std::string(args);
handler->usrp = uhd::usrp::multi_usrp::make(_args + ", master_clock_rate=30720000"); handler->usrp = uhd::usrp::multi_usrp::make(_args + ", master_clock_rate=30720000" + ", num_recv_frames=512");
handler->usrp->set_clock_source("internal"); handler->usrp->set_clock_source("internal");

Loading…
Cancel
Save