mbed library sources. Supersedes mbed-src. GR-PEACH runs on RAM.
Fork of mbed-dev by
Revision 94:17550cbf442f, committed 2016-03-17
- Comitter:
- mbed_official
- Date:
- Thu Mar 17 15:45:19 2016 +0000
- Parent:
- 93:27c677f25ce8
- Child:
- 95:75b7d1f8d36d
- Commit message:
- Synchronized with git revision 0a0fcbb5fd129d8b72a6d872b6e280b3ee7527e1
Full URL: https://github.com/mbedmicro/mbed/commit/0a0fcbb5fd129d8b72a6d872b6e280b3ee7527e1/
Fix IRQ enabled in serial_irq_set()
Changed in this revision
targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c Thu Mar 17 10:45:12 2016 +0000 +++ b/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c Thu Mar 17 15:45:19 2016 +0000 @@ -751,7 +751,7 @@ NVIC_EnableIRQ(irq_n); #endif } else { // TxIrq - __HAL_UART_ENABLE_IT(handle, UART_IT_TC); + __HAL_UART_ENABLE_IT(handle, UART_IT_TXE); NVIC_SetVector(irq_n, vector); NVIC_EnableIRQ(irq_n); #if DEVICE_SERIAL_ASYNCH_DMA