serial: Changed order of flags PARENB and PARODD in deletion to same order as in setting (cosmetic).
This commit is contained in:
parent
8819bf5a96
commit
b21d7eebe2
|
@ -569,7 +569,7 @@ SR_PRIV int serial_set_params(struct sr_serial_dev_inst *serial, int baudrate,
|
|||
}
|
||||
|
||||
term.c_iflag &= ~IGNPAR;
|
||||
term.c_cflag &= ~(PARODD | PARENB);
|
||||
term.c_cflag &= ~(PARENB | PARODD);
|
||||
switch (parity) {
|
||||
case SERIAL_PARITY_NONE:
|
||||
sr_spew("Configuring no parity.");
|
||||
|
|
Loading…
Reference in New Issue