serial: Changed order of flags PARENB and PARODD in deletion to same order as in setting (cosmetic).

This commit is contained in:
Matthias Heidbrink 2013-10-17 10:57:15 +02:00 committed by Uwe Hermann
parent 8819bf5a96
commit b21d7eebe2
1 changed files with 1 additions and 1 deletions

View File

@ -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.");