mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
BladeRF, HackRF: minor fixes
This commit is contained in:
parent
500f5bc82c
commit
92856056cf
@ -183,7 +183,7 @@ void BladeRF2OutputThread::callbackMO(qint16* buf, qint32 samplesPerChannel)
|
||||
|
||||
if (status < 0)
|
||||
{
|
||||
qCritical("BladeRF2OutputThread::callbackMI: cannot interleave buffer: %s", bladerf_strerror(status));
|
||||
qCritical("BladeRF2OutputThread::callbackMO: cannot interleave buffer: %s", bladerf_strerror(status));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -440,7 +440,7 @@ bool HackRFOutput::applySettings(const HackRFOutputSettings& settings, bool forc
|
||||
settings.m_log2Interp,
|
||||
(DeviceSampleSink::fcPos_t) settings.m_fcPos,
|
||||
settings.m_devSampleRate,
|
||||
m_settings.m_transverterMode);
|
||||
settings.m_transverterMode);
|
||||
setDeviceCenterFrequency(deviceCenterFrequency, settings.m_LOppmTenths);
|
||||
|
||||
if (m_deviceAPI->getSourceBuddies().size() > 0)
|
||||
|
@ -874,9 +874,6 @@ bool BladeRF2Input::applySettings(const BladeRF2InputSettings& settings, bool fo
|
||||
if ((m_settings.m_LOppmTenths != settings.m_LOppmTenths) || force) {
|
||||
reverseAPIKeys.append("LOppmTenths");
|
||||
}
|
||||
if ((m_settings.m_devSampleRate != settings.m_devSampleRate) || force) {
|
||||
reverseAPIKeys.append("devSampleRate");
|
||||
}
|
||||
|
||||
if ((m_settings.m_centerFrequency != settings.m_centerFrequency)
|
||||
|| (m_settings.m_transverterMode != settings.m_transverterMode)
|
||||
@ -941,9 +938,6 @@ bool BladeRF2Input::applySettings(const BladeRF2InputSettings& settings, bool fo
|
||||
if ((m_settings.m_globalGain != settings.m_globalGain) || force) {
|
||||
reverseAPIKeys.append("globalGain");
|
||||
}
|
||||
if ((m_settings.m_gainMode != settings.m_gainMode) || force) {
|
||||
reverseAPIKeys.append("gainMode");
|
||||
}
|
||||
|
||||
if ((m_settings.m_globalGain != settings.m_globalGain)
|
||||
|| ((m_settings.m_gainMode != settings.m_gainMode) && (settings.m_gainMode == BLADERF_GAIN_MANUAL)) || force)
|
||||
|
Loading…
Reference in New Issue
Block a user