From c3dd1eafb7a2c5247c89896bb3a506f47ec6b3b6 Mon Sep 17 00:00:00 2001 From: Hayley Date: Mon, 24 Jun 2019 14:36:58 -0500 Subject: [PATCH] Set flow control for higher baud rate per FTDI reccommendation, set the flow control to XON-XOFF, with 0x11 = Xon and 0x13 Xoff, per example by FTDI --- DSP_API/ThumbDV/thumbDV.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSP_API/ThumbDV/thumbDV.c b/DSP_API/ThumbDV/thumbDV.c index 931841f..d5cc148 100644 --- a/DSP_API/ThumbDV/thumbDV.c +++ b/DSP_API/ThumbDV/thumbDV.c @@ -362,7 +362,7 @@ FT_HANDLE thumbDV_openSerial( FT_DEVICE_LIST_INFO_NODE device ) FT_SetDataCharacteristics(handle, FT_BITS_8, FT_STOP_BITS_1, FT_PARITY_NONE); - FT_SetFlowControl(handle, FT_FLOW_NONE, 0, 0); + FT_SetFlowControl(handle, FT_FLOW_XON_XOFF, 0x11, 0x13); /* tty.c_cflag = ( tty.c_cflag & ~CSIZE ) | CS8;