mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2025-12-06 03:01:59 +01:00
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
This commit is contained in:
parent
6ca60bec26
commit
c3dd1eafb7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue