serial_win: GDB needs to handle DTR.
This commit is contained in:
parent
71e9d78210
commit
11217f8a45
|
@ -59,6 +59,7 @@ int serial_open(BMP_CL_OPTIONS_t *cl_opts, char * serial)
|
|||
return -1;
|
||||
}
|
||||
dcbSerialParams.ByteSize = 8;
|
||||
dcbSerialParams.fDtrControl = DTR_CONTROL_ENABLE;
|
||||
if (!SetCommState(hComm, &dcbSerialParams)) {
|
||||
DEBUG_WARN("SetCommState failed %ld\n", GetLastError());
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue