1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

LimeSDR: do not call LMS_GetSampleRate if the stream is not running as data obtained is garbage

This commit is contained in:
f4exb
2018-01-08 01:15:17 +01:00
parent 9824843684
commit 3248554cd1
2 changed files with 2 additions and 2 deletions
@@ -546,7 +546,7 @@ bool LimeSDROutput::handleMessage(const Message& message)
{
DeviceLimeSDRShared::MsgReportBuddyChange& report = (DeviceLimeSDRShared::MsgReportBuddyChange&) message;
if (report.getRxElseTx())
if (report.getRxElseTx() && m_running)
{
double host_Hz;
double rf_Hz;