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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user