mbed library sources
Fork of mbed-src by
Revision 188:e2558dbb5ee5, committed 2014-05-14
- Comitter:
- mbed_official
- Date:
- Wed May 14 13:45:06 2014 +0100
- Parent:
- 187:3c46d8ef3e7f
- Child:
- 189:4502ef52f909
- Commit message:
- Synchronized with git revision eb30280f2a35321def352ee28be5717a1bc22029
Full URL: https://github.com/mbedmicro/mbed/commit/eb30280f2a35321def352ee28be5717a1bc22029/
[K64F] fix uart tx isr detach
Changed in this revision
targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/serial_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/serial_api.c Wed May 14 08:30:07 2014 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/serial_api.c Wed May 14 13:45:06 2014 +0100 @@ -192,7 +192,7 @@ SerialIrq other_irq = (irq == RxIrq) ? (TxIrq) : (RxIrq); switch (irq) { case RxIrq: uart_hal_disable_rx_data_register_full_interrupt(obj->index); break; - case TxIrq: uart_hal_enable_tx_data_register_empty_interrupt(obj->index); break; + case TxIrq: uart_hal_disable_tx_data_register_empty_interrupt(obj->index); break; } switch (other_irq) { case RxIrq: all_disabled = uart_hal_is_receive_data_full_interrupt_enabled(obj->index) == 0; break;