1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-25 20:22:10 -05:00

Upgraded to libbladerf 2019.07 release

This commit is contained in:
f4exb 2019-09-29 00:26:13 +02:00
parent 3df426d1ae
commit 4e66097993
2 changed files with 8 additions and 8 deletions

View File

@ -505,13 +505,13 @@ int DeviceBladeRF2::getGainModesRx(const bladerf_gain_modes **modes)
{
if (m_dev)
{
int n = bladerf_get_gain_modes(m_dev, BLADERF_CHANNEL_RX(0), 0);
// int n = bladerf_get_gain_modes(m_dev, BLADERF_CHANNEL_RX(0), 0); // does not work anymore with libbladerf 2.2.1
if (n < 0)
{
qCritical("DeviceBladeRF2::getGainModesRx: Failed to get the number of Rx gain modes: %s", bladerf_strerror(n));
return 0;
}
// if (n < 0)
// {
// qCritical("DeviceBladeRF2::getGainModesRx: Failed to get the number of Rx gain modes: %s", bladerf_strerror(n));
// return 0;
// }
int status = bladerf_get_gain_modes(m_dev, BLADERF_CHANNEL_RX(0), modes);
@ -522,7 +522,7 @@ int DeviceBladeRF2::getGainModesRx(const bladerf_gain_modes **modes)
}
else
{
return n;
return status; // This is the number of gain modes (libbladerf 2.2.1)
}
}
else

View File

@ -14,7 +14,7 @@ set(MBELIB_TAG 9a04ed5c78176a9965f3d43f7aa1b1f5330e771f)
set(SERIALDV_TAG "v1.1.2")
set(DSDCC_TAG "v1.8.6")
set(LIMESUITE_TAG "v19.01.0")
set(BLADERF_TAG "2018.10-rc1")
set(BLADERF_TAG "2019.07")
set(LIBIIO_TAG 826563e41b5ce9890b75506f672017de8d76d52d)
set(AIRSPYHF_TAG "1.1.5")
set(PERSEUS_TAG afefa23e3140ac79d845acb68cf0beeb86d09028)