Commit 6ac18302 authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/fix-bladerf' into integration_2023_w24

parents e9f4c586 2778fd56
...@@ -1115,6 +1115,12 @@ int device_init(openair0_device *device, ...@@ -1115,6 +1115,12 @@ int device_init(openair0_device *device,
// calibrate // calibrate
#if 0
/* those calls fail for "Nuand bladeRF 2.0 (bladerf2)", so commented,
* but let's keep the code in case it's needed (for other boards,
* for anything, unfortunately we don't have other boards to test
* right now)
*/
if ((status=bladerf_calibrate_dc(brf->dev, BLADERF_DC_CAL_LPF_TUNING)) != 0 || if ((status=bladerf_calibrate_dc(brf->dev, BLADERF_DC_CAL_LPF_TUNING)) != 0 ||
(status=bladerf_calibrate_dc(brf->dev, BLADERF_DC_CAL_TX_LPF)) != 0 || (status=bladerf_calibrate_dc(brf->dev, BLADERF_DC_CAL_TX_LPF)) != 0 ||
(status=bladerf_calibrate_dc(brf->dev, BLADERF_DC_CAL_RX_LPF)) != 0 || (status=bladerf_calibrate_dc(brf->dev, BLADERF_DC_CAL_RX_LPF)) != 0 ||
...@@ -1123,6 +1129,7 @@ int device_init(openair0_device *device, ...@@ -1123,6 +1129,7 @@ int device_init(openair0_device *device,
brf_error(status); brf_error(status);
} else } else
printf("[BRF] calibration OK\n"); printf("[BRF] calibration OK\n");
#endif
bladerf_log_set_verbosity(get_brf_log_level(openair0_cfg->log_level)); bladerf_log_set_verbosity(get_brf_log_level(openair0_cfg->log_level));
......
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