1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -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
@@ -78,6 +78,7 @@ void LimeSDRInputThread::run()
if (LMS_StartStream(m_stream) < 0) {
qCritical("LimeSDRInputThread::run: could not start stream");
} else {
usleep(500000);
qDebug("LimeSDRInputThread::run: stream started");
}
@@ -96,6 +97,7 @@ void LimeSDRInputThread::run()
if (LMS_StopStream(m_stream) < 0) {
qCritical("LimeSDRInputThread::run: could not stop stream");
} else {
usleep(500000);
qDebug("LimeSDRInputThread::run: stream stopped");
}