diff options
m--------- | fpga-src | 0 | ||||
-rw-r--r-- | host/CMakeLists.txt | 4 | ||||
-rw-r--r-- | host/lib/rfnoc/ddc_block_ctrl_impl.cpp | 10 |
3 files changed, 11 insertions, 3 deletions
diff --git a/fpga-src b/fpga-src -Subproject a32119007d7fff31aace083eed94b6a4979e9c0 +Subproject 0821320bdf59756dc8f29243db18f0e8111aa70 diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 5810b1383..dd9b51e2b 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -358,8 +358,8 @@ UHD_INSTALL(FILES #{{{IMG_SECTION # This section is written automatically by /images/create_imgs_package.py # Any manual changes in here will be overwritten. -SET(UHD_IMAGES_MD5SUM "21f58d903775485e2243a6ee77706679") -SET(UHD_IMAGES_DOWNLOAD_SRC "uhd-images_003.010.001.000-release.zip") +SET(UHD_IMAGES_MD5SUM "a3626ec5f123a4179552be08a50dccc2") +SET(UHD_IMAGES_DOWNLOAD_SRC "uhd-images_003.010.001.000-42-gd0a60fea.zip") #}}} ######################################################################## diff --git a/host/lib/rfnoc/ddc_block_ctrl_impl.cpp b/host/lib/rfnoc/ddc_block_ctrl_impl.cpp index 2aac22ca4..fb70b6f45 100644 --- a/host/lib/rfnoc/ddc_block_ctrl_impl.cpp +++ b/host/lib/rfnoc/ddc_block_ctrl_impl.cpp @@ -121,7 +121,15 @@ public: double get_output_samp_rate(size_t port=ANY_PORT) { - port = port == ANY_PORT ? 0 : port; + if (port == ANY_PORT) { + port = 0; + for (size_t i = 0; i < get_input_ports().size(); i++) { + if (_rx_streamer_active.count(i) and _rx_streamer_active.at(i)) { + port = i; + break; + } + } + } if (not (_rx_streamer_active.count(port) and _rx_streamer_active.at(port))) { return RATE_UNDEFINED; } |