You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, bladeRF2 does not work this way. The first thing the function does is a null check, so the function stops immediately with an error code instead:
The documentation for bladerf_get_gain_modes says that you can pass in NULL so you can query the size of the mode list before you call it again:
https://www.nuand.com/libbladeRF-doc/v2.5.0/group___f_n___g_a_i_n.html#ga5350f1868a06dc92bef4ea0f07914f42
"This function may be called with NULL for
modes
to determine the number of gain modes supported."And indeed this is how it's implemented for bladeRF1:
However, bladeRF2 does not work this way. The first thing the function does is a null check, so the function stops immediately with an error code instead:
The text was updated successfully, but these errors were encountered: