pull/395/head
Mihail Stoyanov 2014-07-09 13:31:23 +03:00
commit fd36432ce8
1 changed files with 16 additions and 15 deletions

View File

@ -260,6 +260,7 @@ void serial_format(serial_t *obj, int data_bits, SerialParity parity, int stop_b
case ParityForced1: parity_enable = 1; parity_select = 2; break;
case ParityForced0: parity_enable = 1; parity_select = 3; break;
default:
parity_enable = 0, parity_select = 0;
break;
}