mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 15:34:57 -04:00
LimeSDR: introduced a 0.5s delay after LMS_StartStream and LMS_StopStream and cleaned up some commented code
This commit is contained in:
@@ -79,6 +79,7 @@ void LimeSDROutputThread::run()
|
||||
if (LMS_StartStream(m_stream) < 0) {
|
||||
qCritical("LimeSDROutputThread::run: could not start stream");
|
||||
} else {
|
||||
usleep(500000);
|
||||
qDebug("LimeSDROutputThread::run: stream started");
|
||||
}
|
||||
|
||||
@@ -122,6 +123,7 @@ void LimeSDROutputThread::run()
|
||||
if (LMS_StopStream(m_stream) < 0) {
|
||||
qCritical("LimeSDROutputThread::run: could not stop stream");
|
||||
} else {
|
||||
usleep(500000);
|
||||
qDebug("LimeSDROutputThread::run: stream stopped");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user