Add limeSDR mini devname

master
David Rupprecht 7 years ago committed by Andre Puschmann
parent 2605c9066b
commit 764c3b574e

@ -209,6 +209,8 @@ int rf_soapy_open_multi(char *args, void **h, uint32_t nof_rx_antennas)
printf("%s=%s, ", soapy_args[i].keys[j], soapy_args[i].vals[j]);
if(!strcmp(soapy_args[i].keys[j],"name") && !strcmp(soapy_args[i].vals[j], "LimeSDR-USB")){
devname = DEVNAME_LIME;
} else if (!strcmp(soapy_args[i].keys[j],"name") && !strcmp(soapy_args[i].vals[j], "LimeSDR Mini")){
devname = DEVNAME_LIME_MINI;
}
}
printf("\n");

@ -29,6 +29,7 @@
#include "srslte/config.h"
#include "srslte/phy/rf/rf.h"
#define DEVNAME_LIME "lime"
#define DEVNAME_LIME_MINI "lime_mini"
SRSLTE_API int rf_soapy_open(char *args,
void **handler);

Loading…
Cancel
Save