mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-09 09:25:07 -04:00
Fix typos in cpp files
This commit is contained in:
@@ -223,7 +223,7 @@ void AaroniaRTSAInputWorker::onReadyRead()
|
||||
qint64 done = mReply->read(mBuffer.data() + bs, n);
|
||||
mBuffer.resize(bs + done);
|
||||
|
||||
// intialize parsing
|
||||
// initialize parsing
|
||||
int offset = 0;
|
||||
int avail = mBuffer.size();
|
||||
|
||||
|
||||
@@ -523,7 +523,7 @@ void FCDProInput::set_center_freq(double freq)
|
||||
|
||||
if (fcdAppSetFreq(m_dev, freq) == FCD_MODE_NONE)
|
||||
{
|
||||
qDebug("No FCD HID found for frquency change");
|
||||
qDebug("No FCD HID found for frequency change");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -455,7 +455,7 @@ void FCDProPlusInput::set_center_freq(double freq)
|
||||
|
||||
if (fcdAppSetFreq(m_dev, freq) == FCD_MODE_NONE)
|
||||
{
|
||||
qDebug("No FCD HID found for frquency change");
|
||||
qDebug("No FCD HID found for frequency change");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -367,7 +367,7 @@ uint8_t *RemoteInputBuffer::readData(int32_t length)
|
||||
|
||||
m_nbReads++;
|
||||
|
||||
// SEGFAULT FIX: arbitratily truncate so that it does not exceed buffer length
|
||||
// SEGFAULT FIX: arbitrarily truncate so that it does not exceed buffer length
|
||||
if (length > m_framesSize) {
|
||||
length = m_framesSize;
|
||||
}
|
||||
|
||||
@@ -1013,7 +1013,7 @@ void RemoteTCPInputTCPHandler::processSpyServerData(int requiredBytes, bool clea
|
||||
}
|
||||
}
|
||||
|
||||
// QTimer::timeout isn't guarenteed to be called on every timeout, so we need to look at the system clock
|
||||
// QTimer::timeout isn't guaranteed to be called on every timeout, so we need to look at the system clock
|
||||
void RemoteTCPInputTCPHandler::processData()
|
||||
{
|
||||
QMutexLocker mutexLocker(&m_mutex);
|
||||
|
||||
@@ -74,7 +74,7 @@ RTLSDRGui::RTLSDRGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
||||
displayGains();
|
||||
|
||||
rtlsdr_tuner tunerType = m_sampleSource->getTunerType();
|
||||
// Disable widgets not relevent for this tuner
|
||||
// Disable widgets not relevant for this tuner
|
||||
bool offsetTuningEnabled = (tunerType != RTLSDR_TUNER_R820T) && (tunerType != RTLSDR_TUNER_R828D);
|
||||
if (!offsetTuningEnabled) {
|
||||
ui->offsetTuning->setEnabled(false);
|
||||
|
||||
@@ -542,7 +542,7 @@ bool RTLSDRInput::applySettings(const RTLSDRSettings& settings, const QList<QStr
|
||||
if(m_dev != 0)
|
||||
{
|
||||
// Nooelec E4000 SDRs appear to require tuner_gain_mode to be reset to manual before
|
||||
// each call to set_tuner_gain, otherwise tuner AGC seems to be reenabled
|
||||
// each call to set_tuner_gain, otherwise tuner AGC seems to be re-enabled
|
||||
if (rtlsdr_set_tuner_gain_mode(m_dev, 1) < 0) {
|
||||
qCritical("RTLSDRInput::applySettings: error setting tuner gain mode to manual");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user