mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
Merge pull request #753 from df7cb/speling
Fix some typos spotted by lintian
This commit is contained in:
commit
c8d07396d2
@ -134,7 +134,7 @@ void DevicePlutoSDRBox::set_params(DeviceType devType,
|
||||
|
||||
if (pos == std::string::npos)
|
||||
{
|
||||
std::cerr << "DevicePlutoSDRBox::set_params: Misformed line: " << *it << std::endl;
|
||||
std::cerr << "DevicePlutoSDRBox::set_params: Malformed line: " << *it << std::endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -165,7 +165,7 @@ void ChannelAnalyzerSink::applyChannelSettings(int channelSampleRate, int sinkSa
|
||||
int decim = channelSampleRate / sinkSampleRate;
|
||||
m_decimator.setLog2Decim(0);
|
||||
|
||||
for (int i = 0; i < 7; i++) // find log2 beween 0 and 6
|
||||
for (int i = 0; i < 7; i++) // find log2 between 0 and 6
|
||||
{
|
||||
if ((decim & 1) == 1)
|
||||
{
|
||||
|
@ -63,7 +63,7 @@
|
||||
<item row="4" column="1">
|
||||
<widget class="QSpinBox" name="timeout">
|
||||
<property name="toolTip">
|
||||
<string>How long in seconds after not receving any frames will an aircraft be removed from the table and map</string>
|
||||
<string>How long in seconds after not receiving any frames will an aircraft be removed from the table and map</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>1000000</number>
|
||||
|
@ -586,7 +586,7 @@
|
||||
<item>
|
||||
<widget class="ButtonSwitch" name="feed">
|
||||
<property name="toolTip">
|
||||
<string>Enable feeding of received ADS-B messages to the specifed server. Right click for settings.</string>
|
||||
<string>Enable feeding of received ADS-B messages to the specified server. Right click for settings.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
|
@ -146,7 +146,7 @@ void ADSBDemodWorker::errorOccurred(QAbstractSocket::SocketError socketError)
|
||||
|
||||
void ADSBDemodWorker::recv()
|
||||
{
|
||||
// Not expecting to receving anything from server
|
||||
// Not expecting to receiving anything from server
|
||||
qDebug() << "ADSBDemodWorker::recv";
|
||||
qDebug() << m_socket.readAll();
|
||||
}
|
||||
|
@ -217,7 +217,7 @@ void FileSinkSink::applyChannelSettings(
|
||||
{
|
||||
int decim = channelSampleRate / sinkSampleRate;
|
||||
|
||||
for (int i = 0; i < 7; i++) // find log2 beween 0 and 6
|
||||
for (int i = 0; i < 7; i++) // find log2 between 0 and 6
|
||||
{
|
||||
if ((decim & 1) == 1)
|
||||
{
|
||||
|
@ -190,7 +190,7 @@ void SigMFFileSinkSink::applyChannelSettings(
|
||||
{
|
||||
int decim = channelSampleRate / sinkSampleRate;
|
||||
|
||||
for (int i = 0; i < 7; i++) // find log2 beween 0 and 6
|
||||
for (int i = 0; i < 7; i++) // find log2 between 0 and 6
|
||||
{
|
||||
if ((decim & 1) == 1)
|
||||
{
|
||||
|
@ -450,7 +450,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Idle time beween packets (s)</string>
|
||||
<string>Idle time between packets (s)</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
|
@ -200,7 +200,7 @@ void GS232ControllerWorker::readSerialData()
|
||||
{
|
||||
qDebug() << "GS232ControllerWorker::readSerialData - unexpected response " << response;
|
||||
if (m_msgQueueToFeature)
|
||||
m_msgQueueToFeature->push(GS232Controller::MsgReportWorker::create(QString("Unexpected GS-232 serial reponse: %1").arg(response)));
|
||||
m_msgQueueToFeature->push(GS232Controller::MsgReportWorker::create(QString("Unexpected GS-232 serial response: %1").arg(response)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -668,7 +668,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Red if underruns occured. Cleared when restarting acquisition</string>
|
||||
<string>Red if underruns occurred. Cleared when restarting acquisition</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background:rgb(79,79,79);</string>
|
||||
|
@ -734,7 +734,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Red if overruns occured. Cleared when restarting acquisition</string>
|
||||
<string>Red if overruns occurred. Cleared when restarting acquisition</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background:rgb(79,79,79);</string>
|
||||
@ -756,7 +756,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Red if timeouts occured. Cleared when restarting acquisition</string>
|
||||
<string>Red if timeouts occurred. Cleared when restarting acquisition</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background:rgb(79,79,79);</string>
|
||||
|
@ -67,7 +67,7 @@ static RTPErrorInfo ErrorDescriptions[] =
|
||||
{ ERR_RTP_PACKBUILD_INVALIDMAXPACKETSIZE, "The specified maximum packet size for the RTP packet builder is invalid" },
|
||||
{ ERR_RTP_PACKBUILD_NOTINIT, "The RTP packet builder is not initialized" },
|
||||
{ ERR_RTP_PACKET_BADPAYLOADTYPE, "Invalid payload type" },
|
||||
{ ERR_RTP_PACKET_DATAEXCEEDSMAXSIZE, "Tried to create an RTP packet which whould exceed the specified maximum packet size" },
|
||||
{ ERR_RTP_PACKET_DATAEXCEEDSMAXSIZE, "Tried to create an RTP packet which would exceed the specified maximum packet size" },
|
||||
{ ERR_RTP_PACKET_EXTERNALBUFFERNULL, "Illegal value (null) passed as external buffer for the RTP packet" },
|
||||
{ ERR_RTP_PACKET_ILLEGALBUFFERSIZE, "Illegal buffer size specified for the RTP packet" },
|
||||
{ ERR_RTP_PACKET_INVALIDPACKET, "Invalid RTP packet format" },
|
||||
@ -80,7 +80,7 @@ static RTPErrorInfo ErrorDescriptions[] =
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_ALREADYBUILT, "This RTCP compound packet is already built" },
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_ALREADYGOTREPORT, "There's already a SR or RR in this RTCP compound packet" },
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_APPDATALENTOOBIG, "The specified APP data length for the RTCP compound packet is too big" },
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_BUFFERSIZETOOSMALL, "The specified buffer size for the RTCP comound packet is too small" },
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_BUFFERSIZETOOSMALL, "The specified buffer size for the RTCP compound packet is too small" },
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_ILLEGALAPPDATALENGTH, "The APP data length must be a multiple of four" },
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_ILLEGALSUBTYPE, "The APP packet subtype must be smaller than 32" },
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_INVALIDITEMTYPE, "Invalid SDES item type specified for the RTCP compound packet" },
|
||||
@ -94,7 +94,7 @@ static RTPErrorInfo ErrorDescriptions[] =
|
||||
{ ERR_RTP_RTCPCOMPPACKBUILDER_TOTALITEMLENGTHTOOBIG, "The total data for the SDES PRIV item exceeds the maximum size (255 bytes) of an SDES item" },
|
||||
{ ERR_RTP_RTCPPACKETBUILDER_ALREADYINIT, "The RTCP packet builder is already initialized" },
|
||||
{ ERR_RTP_RTCPPACKETBUILDER_ILLEGALMAXPACKSIZE, "The specified maximum packet size for the RTCP packet builder is too small" },
|
||||
{ ERR_RTP_RTCPPACKETBUILDER_ILLEGALTIMESTAMPUNIT, "Speficied an illegal timestamp unit for the the RTCP packet builder" },
|
||||
{ ERR_RTP_RTCPPACKETBUILDER_ILLEGALTIMESTAMPUNIT, "Specified an illegal timestamp unit for the the RTCP packet builder" },
|
||||
{ ERR_RTP_RTCPPACKETBUILDER_NOTINIT, "The RTCP packet builder was not initialized" },
|
||||
{ ERR_RTP_RTCPPACKETBUILDER_PACKETFILLEDTOOSOON, "The RTCP compound packet filled sooner than expected" },
|
||||
{ ERR_RTP_SCHEDPARAMS_BADFRACTION, "Illegal sender bandwidth fraction specified" },
|
||||
@ -169,7 +169,7 @@ static RTPErrorInfo ErrorDescriptions[] =
|
||||
{ ERR_RTP_FAKETRANS_ALREADYINIT, "The transmitter was already initialize" },
|
||||
{ ERR_RTP_FAKETRANS_CANTINITMUTEX, "Failed to initialize a mutex used by the transmitter" },
|
||||
{ ERR_RTP_FAKETRANS_COULDNTJOINMULTICASTGROUP, "Unable to join the specified multicast group" },
|
||||
{ ERR_RTP_FAKETRANS_DIFFERENTRECEIVEMODE, "The function called doens't match the current receive mode" },
|
||||
{ ERR_RTP_FAKETRANS_DIFFERENTRECEIVEMODE, "The function called doesn't match the current receive mode" },
|
||||
{ ERR_RTP_FAKETRANS_ILLEGALPARAMETERS, "Illegal parameters type passed to the transmitter" },
|
||||
{ ERR_RTP_FAKETRANS_INVALIDADDRESSTYPE, "Specified address type isn't compatible with this transmitter" },
|
||||
{ ERR_RTP_FAKETRANS_NOLOCALIPS, "Couldn't determine the local host name since the local IP list is empty" },
|
||||
@ -211,7 +211,7 @@ static RTPErrorInfo ErrorDescriptions[] =
|
||||
{ ERR_RTP_SECURESESSION_CONTEXTALREADYINITIALIZED, "The initialization function was already called" },
|
||||
{ ERR_RTP_SECURESESSION_CANTINITIALIZE_SRTPCONTEXT, "Unable to initialize libsrtp context" },
|
||||
{ ERR_RTP_SECURESESSION_CANTINITMUTEX, "Unable to initialize a mutex" },
|
||||
{ ERR_RTP_SECURESESSION_CONTEXTNOTINITIALIZED, "The libsrtp context initilization function must be called before it can be used" },
|
||||
{ ERR_RTP_SECURESESSION_CONTEXTNOTINITIALIZED, "The libsrtp context initialization function must be called before it can be used" },
|
||||
{ ERR_RTP_SECURESESSION_NOTENOUGHDATATOENCRYPT, "There's not enough RTP or RTCP data to encrypt" },
|
||||
{ ERR_RTP_SECURESESSION_CANTENCRYPTRTPDATA, "Unable to encrypt RTP data" },
|
||||
{ ERR_RTP_SECURESESSION_CANTENCRYPTRTCPDATA, "Unable to encrypt RTCP data" },
|
||||
|
@ -136,7 +136,7 @@ bool FileRecord::stopRecording()
|
||||
m_recordStart = false;
|
||||
if (m_sampleFile.bad())
|
||||
{
|
||||
qWarning() << "FileRecord::stopRecording: an error occured while writing to " << m_curentFileName;
|
||||
qWarning() << "FileRecord::stopRecording: an error occurred while writing to " << m_curentFileName;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -153,12 +153,12 @@ bool SigMFFileRecord::stopRecording()
|
||||
m_recordOn = false;
|
||||
if (m_sampleFile.bad())
|
||||
{
|
||||
qWarning() << "SigMFFileRecord::stopRecording: an error occured while writing to " << m_sampleFileName;
|
||||
qWarning() << "SigMFFileRecord::stopRecording: an error occurred while writing to " << m_sampleFileName;
|
||||
return false;
|
||||
}
|
||||
if (m_metaFile.bad())
|
||||
{
|
||||
qWarning() << "SigMFFileRecord::stopRecording: an error occured while writing to " << m_metaFileName;
|
||||
qWarning() << "SigMFFileRecord::stopRecording: an error occurred while writing to " << m_metaFileName;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -310,7 +310,7 @@ void WebAPIRequestMapper::instanceConfigService(qtwebapp::HttpRequest& request,
|
||||
}
|
||||
else
|
||||
{
|
||||
normalResponse.setMessage(new QString("Error occured while updating configuration"));
|
||||
normalResponse.setMessage(new QString("Error occurred while updating configuration"));
|
||||
response.write(errorResponse.asJson().toUtf8());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user