mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-17 21:28:43 -04:00
LimeSDR output: optimize get device info by checking buddy leadership in the GUI
This commit is contained in:
@@ -342,8 +342,12 @@ void LimeSDROutputGUI::updateStatus()
|
||||
}
|
||||
else
|
||||
{
|
||||
LimeSDROutput::MsgGetDeviceInfo* message = LimeSDROutput::MsgGetDeviceInfo::create();
|
||||
m_sampleSink->getInputMessageQueue()->push(message);
|
||||
if (m_deviceAPI->isBuddyLeader())
|
||||
{
|
||||
LimeSDROutput::MsgGetDeviceInfo* message = LimeSDROutput::MsgGetDeviceInfo::create();
|
||||
m_sampleSink->getInputMessageQueue()->push(message);
|
||||
}
|
||||
|
||||
m_deviceStatusCounter = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user