1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-22 17:45:48 -05:00

Fix compilation with UHD 3.15. Add dependency info to readme.

This commit is contained in:
Jon Beniston 2020-10-27 09:56:15 +00:00
parent b7fac21297
commit a9b6af0648
2 changed files with 8 additions and 1 deletions

View File

@ -67,7 +67,7 @@ bool DeviceUSRPParams::open(const char *deviceStr, bool channelNumOnly)
m_srRangeTx = uhd::meta_range_t(std::min(txLow.start(), txHigh.start()), std::max(txLow.stop(), txHigh.stop()));
// Need to restore automatic clock rate
uhd::property_tree::sptr properties = m_dev->get_tree();
uhd::property_tree::sptr properties = m_dev->get_device()->get_tree();
if (properties->exists("/mboards/0/auto_tick_rate"))
{
properties->access<bool>("/mboards/0/auto_tick_rate").set(true);

View File

@ -132,3 +132,10 @@ This label turns green when data is being received from the device.
- **T**: turns red if stream experiences timeouts
The stream warning indicators are reset when the acqusition is started.
<h2>Dependendices</h2>
On Ubuntu 20, the libuhd-dev package should be installed. The FPGA images then need to be downloaded with:
sudo /usr/lib/uhd/utils/uhd_images_downloader.py