mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-25 13:18:37 -05:00
fix driver key case
This commit is contained in:
parent
096a1aa5fd
commit
884f740030
@ -91,7 +91,7 @@ void SDRThread::init() {
|
||||
device->setSampleRate(SOAPY_SDR_RX,0,sampleRate.load());
|
||||
|
||||
// TODO: explore bandwidth setting option to see if this is necessary for others
|
||||
if (device->getDriverKey() == "bladerf") {
|
||||
if (device->getDriverKey() == "bladeRF") {
|
||||
device->setBandwidth(SOAPY_SDR_RX, 0, sampleRate.load());
|
||||
}
|
||||
|
||||
@ -287,7 +287,7 @@ void SDRThread::updateSettings() {
|
||||
if (rate_changed.load()) {
|
||||
device->setSampleRate(SOAPY_SDR_RX,0,sampleRate.load());
|
||||
// TODO: explore bandwidth setting option to see if this is necessary for others
|
||||
if (device->getDriverKey() == "bladerf") {
|
||||
if (device->getDriverKey() == "bladeRF") {
|
||||
device->setBandwidth(SOAPY_SDR_RX, 0, sampleRate.load());
|
||||
}
|
||||
sampleRate.store(device->getSampleRate(SOAPY_SDR_RX,0));
|
||||
|
Loading…
Reference in New Issue
Block a user