mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/serial_api.c
- Revision:
- 148:21d94c44109e
- Parent:
- 121:7f86b4238bec
--- a/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/serial_api.c Fri Sep 16 16:24:25 2016 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/serial_api.c Fri Sep 30 18:07:01 2016 +0100 @@ -98,6 +98,8 @@ temp |= (UART_C1_PE_MASK | UART_C1_M_MASK); if (parity == ParityOdd) { temp |= UART_C1_PT_MASK; + } else if (parity == ParityEven) { + // PT=0 so nothing more to do } else { // Hardware does not support forced parity MBED_ASSERT(0);