diff --git a/DSP_API/ThumbDV/thumbDV.c b/DSP_API/ThumbDV/thumbDV.c index c8aa797..8f7a191 100644 --- a/DSP_API/ThumbDV/thumbDV.c +++ b/DSP_API/ThumbDV/thumbDV.c @@ -784,7 +784,9 @@ static void * _thumbDV_connectThread( void * param ) FT_HANDLE handle = *(FT_HANDLE *) param; while ( !_connectThreadAbort ) { - //TODO Handle reconnection + + //waits 1 second before checking status to prevent CPU hogging + usleep(1000000); ret = FT_GetStatus(handle, &rx_bytes, &tx_bytes, &event_dword); if (ret != FT_OK) {