mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
SimpePTT: fixed warnings
This commit is contained in:
parent
5cad053158
commit
03ae781782
@ -22,13 +22,13 @@
|
||||
|
||||
SimplePTTCommand::SimplePTTCommand() :
|
||||
m_currentProcess(nullptr),
|
||||
m_currentProcessPid(0),
|
||||
m_currentProcessState(QProcess::NotRunning),
|
||||
m_isInError(false),
|
||||
m_currentProcessError(QProcess::UnknownError),
|
||||
m_hasExited(false),
|
||||
m_currentProcessExitCode(0),
|
||||
m_currentProcessExitStatus(QProcess::NormalExit),
|
||||
m_currentProcessPid(0),
|
||||
m_hasExited(false),
|
||||
m_msgQueueToGUI(nullptr)
|
||||
{
|
||||
m_currentProcessStartTimeStampms = 0;
|
||||
|
@ -297,8 +297,8 @@ void SimplePTTWorker::preSwitch(bool tx)
|
||||
return;
|
||||
}
|
||||
|
||||
gpioPins != gpioMask & (tx ? m_settings.m_rx2txGPIOValues : m_settings.m_tx2rxGPIOValues);
|
||||
gpioPins &= ~gpioMask | (tx ? m_settings.m_rx2txGPIOValues : m_settings.m_tx2rxGPIOValues);
|
||||
gpioPins != (gpioMask & (tx ? m_settings.m_rx2txGPIOValues : m_settings.m_tx2rxGPIOValues));
|
||||
gpioPins &= (~gpioMask | (tx ? m_settings.m_rx2txGPIOValues : m_settings.m_tx2rxGPIOValues));
|
||||
|
||||
if (!ChannelWebAPIUtils::patchDeviceSetting(deviceSetIndex, "gpioPins", gpioPins)) {
|
||||
qDebug() << "SimplePTTWorker::preSwitch - Failed to write gpioPins setting. Does this SDR support it?";
|
||||
|
Loading…
Reference in New Issue
Block a user