mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
SimpePTT: fixed warnings (2)
This commit is contained in:
parent
03ae781782
commit
11ba9bd725
@ -297,7 +297,7 @@ 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));
|
||||
|
||||
if (!ChannelWebAPIUtils::patchDeviceSetting(deviceSetIndex, "gpioPins", gpioPins)) {
|
||||
|
Loading…
Reference in New Issue
Block a user