From d0a137799e066f9b10fb06719d1a08ad130d594a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 26 Sep 2018 08:21:48 +0000 Subject: Fixed regression in UARTv2 serial driver. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12291 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c | 1 + 1 file changed, 1 insertion(+) diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c index 6c2b855af..a89c02b24 100644 --- a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c +++ b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.c @@ -366,6 +366,7 @@ static void serve_interrupt(SerialDriver *sdp) { if (b < MSG_OK) { chnAddFlagsI(sdp, CHN_OUTPUT_EMPTY); u->CR1 = cr1 & ~USART_CR1_TXEIE; + osalSysUnlockFromISR(); break; } u->TDR = b; -- cgit v1.2.3