rf_soapy_imp: fix LTE sample rate info check

only print if Lime is substring in dev args, so don't print with blade
master
Andre Puschmann 4 years ago
parent f76cd5ef83
commit b569e81299

@ -302,7 +302,7 @@ int rf_soapy_open_multi(char* args, void** h, uint32_t num_requested_channels)
}
// With the Lime we are better off using LTE sample rates
if (strcmp(devname, "Lime") && srsran_symbol_size_is_standard() == false) {
if (strstr(devname, "Lime") != NULL && srsran_symbol_size_is_standard() == false) {
printf("\033[0;31mConsider using LTE sample rates for better RF performance.\nEither compile with "
"\'-DUSE_LTE_RATES=True\' or start srsENB or srsUE with \'--expert.lte_sample_rates=true\'\033[0m\n");
}

Loading…
Cancel
Save