mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2025-12-06 03:01:59 +01:00
Added usleep to connect thread to keep from taking all of the CPU
This commit is contained in:
parent
20f99daf93
commit
8b0651ea13
|
|
@ -786,6 +786,7 @@ static void * _thumbDV_connectThread( void * param )
|
|||
while ( !_connectThreadAbort ) {
|
||||
//TODO Handle reconnection
|
||||
ret = FT_GetStatus(handle, &rx_bytes, &tx_bytes, &event_dword);
|
||||
usleep(1000000);
|
||||
|
||||
if (ret != FT_OK) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue