SDR: Fixed SoapySDR's arguments parsing

This commit is contained in:
Andreas Eversberg 2017-03-23 17:38:41 +01:00
parent fbdb9ece01
commit c04d046210
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ int soapy_open(const char *device_args, double tx_frequency, double rx_frequency
soapy_close();
return -EIO;
}
val++;
*val++ = '\0';
arg_string = strchr(val, ',');
if (arg_string)
*arg_string++ = '\0';