mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
LimeSDR: have still a 1ms delay after start/stop stream as it makes the Tx gain setting a bit more fluid
This commit is contained in:
parent
c3de895301
commit
2deccbc259
@ -41,6 +41,7 @@ void LimeSDROutputThread::startWork()
|
||||
if (LMS_StartStream(m_stream) < 0) {
|
||||
qCritical("LimeSDROutputThread::startWork: could not start stream");
|
||||
} else {
|
||||
usleep(1000);
|
||||
qDebug("LimeSDROutputThread::startWork: stream started");
|
||||
}
|
||||
|
||||
@ -61,6 +62,7 @@ void LimeSDROutputThread::stopWork()
|
||||
if (LMS_StopStream(m_stream) < 0) {
|
||||
qCritical("LimeSDROutputThread::stopWork: could not stop stream");
|
||||
} else {
|
||||
usleep(1000);
|
||||
qDebug("LimeSDROutputThread::stopWork: stream stopped");
|
||||
}
|
||||
}
|
||||
|
@ -42,6 +42,7 @@ void LimeSDRInputThread::startWork()
|
||||
if (LMS_StartStream(m_stream) < 0) {
|
||||
qCritical("LimeSDRInputThread::startWork: could not start stream");
|
||||
} else {
|
||||
usleep(1000);
|
||||
qDebug("LimeSDRInputThread::startWork: stream started");
|
||||
}
|
||||
|
||||
@ -62,6 +63,7 @@ void LimeSDRInputThread::stopWork()
|
||||
if (LMS_StopStream(m_stream) < 0) {
|
||||
qCritical("LimeSDRInputThread::stopWork: could not stop stream");
|
||||
} else {
|
||||
usleep(1000);
|
||||
qDebug("LimeSDRInputThread::stopWork: stream stopped");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user