Increased usleep in write

in TX the dongle is only sending reset packets when speech is detected. Also, in TX, signal is not demodulated when speaking into mic; otherwise it is demodulated. Still only reset packets in RX.
This commit is contained in:
Hayley 2019-07-11 15:14:29 -05:00
parent c9df66b0ce
commit d2ada3faeb

View file

@ -294,7 +294,7 @@ static int thumbDV_writeSerial( FT_HANDLE handle , unsigned char * buffer, uint3
{
//FT_SetRts(handle);
status = FT_Write(handle, buffer, bytes, &written);
usleep(100);
usleep(10000);
if ( status != FT_OK || written != bytes ) {
output( ANSI_RED "Could not write to serial port. status = %d\n", status );