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