1
0
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:
f4exb
2017-07-03 23:26:06 +02:00
parent 37df628719
commit b867cf2335
2 changed files with 33 additions and 32 deletions
@@ -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;
}
}