mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Simple PTT: fixed status indicator
This commit is contained in:
parent
532e794fca
commit
adea55d41d
@ -226,7 +226,13 @@ void SimplePTTWorker::updateHardware()
|
||||
SWGSDRangel::SWGErrorResponse error;
|
||||
m_updateTimer.stop();
|
||||
m_mutex.unlock();
|
||||
turnDevice(true);
|
||||
bool success = turnDevice(true);
|
||||
|
||||
if (success && m_msgQueueToGUI)
|
||||
{
|
||||
SimplePTTReport::MsgRadioState *msg = SimplePTTReport::MsgRadioState::create(m_tx ? SimplePTTReport::RadioTx : SimplePTTReport::RadioRx);
|
||||
m_msgQueueToGUI->push(msg);
|
||||
}
|
||||
}
|
||||
|
||||
bool SimplePTTWorker::turnDevice(bool on)
|
||||
|
Loading…
Reference in New Issue
Block a user