mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
HackRF plugins: shorten wait time in running loop so that start/stop can react faster (delay set to 200ms instead of 1s)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "dsp/samplesourcefifo.h"
|
||||
|
||||
@@ -81,7 +82,7 @@ void HackRFOutputThread::run()
|
||||
{
|
||||
while ((m_running) && (hackrf_is_streaming(m_dev) == HACKRF_TRUE))
|
||||
{
|
||||
sleep(1);
|
||||
usleep(200000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user