1
0
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:
f4exb
2017-10-27 00:53:34 +02:00
parent 7ca778038e
commit 8ddc852239
4 changed files with 4 additions and 117 deletions
@@ -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");
}