mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c
- Revision:
- 243:1b2bee05fe98
- Parent:
- 227:7bd0639b8911
- Child:
- 274:6937b19af361
--- a/targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c Fri Jun 27 07:30:09 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c Fri Jun 27 16:30:08 2014 +0100 @@ -193,7 +193,7 @@ stop_bits -= 1; data_bits -= 5; - int parity_enable, parity_select; + int parity_enable = 0, parity_select = 0; switch (parity) { case ParityNone: parity_enable = 0; parity_select = 0; break; case ParityOdd : parity_enable = 1; parity_select = 0; break;