Commit ae54a1bd authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/fix-n320' into integration_2022_wk26

parents 94ca30e8 586aa46c
...@@ -1030,8 +1030,12 @@ extern "C" { ...@@ -1030,8 +1030,12 @@ extern "C" {
} }
if (device_adds[0].get("type") == "n3xx") { if (device_adds[0].get("type") == "n3xx") {
printf("Found USRP n300\n"); const std::string product = device_adds[0].get("product");
printf("Found USRP %s\n", product.c_str());
device->type=USRP_N300_DEV; device->type=USRP_N300_DEV;
if (product == "n320")
usrp_master_clock = 245.76e6; // N320 does not support 122.88e6 master clock rate
else
usrp_master_clock = 122.88e6; usrp_master_clock = 122.88e6;
args += boost::str(boost::format(",master_clock_rate=%f") % usrp_master_clock); args += boost::str(boost::format(",master_clock_rate=%f") % usrp_master_clock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment