Set the fAbortOnError flag explicitly to FALSE.
This change prevents some unexpected errors.
This commit is contained in:
parent
0b5c63995f
commit
898b1479bc
@ -157,6 +157,7 @@ serial_configure (serial *device, int baudrate, int databits, int parity, int st
|
||||
}
|
||||
|
||||
dcb.fBinary = TRUE; // Enable Binary Transmission
|
||||
dcb.fAbortOnError = FALSE;
|
||||
|
||||
// Baudrate.
|
||||
switch (baudrate) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user