1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -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:
f4exb
2017-01-09 00:08:33 +01:00
parent 932dde48ca
commit 61e45297df
2 changed files with 4 additions and 2 deletions
@@ -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);
}
}