diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-15 15:18:55 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-15 15:18:55 +0000 |
commit | 9896e5a2549b74fe2687b6a1836dec6833572d85 (patch) | |
tree | 16da824a625fcc67ca017fea61e73dc772e7f382 | |
parent | fd26fb26f44c3eef7b1b207dd2607e6142efd9a8 (diff) | |
download | ChibiOS-9896e5a2549b74fe2687b6a1836dec6833572d85.tar.gz ChibiOS-9896e5a2549b74fe2687b6a1836dec6833572d85.tar.bz2 ChibiOS-9896e5a2549b74fe2687b6a1836dec6833572d85.zip |
Fixed bug #672.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8493 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/ports/STM32/LLD/USARTv1/uart_lld.c | 4 | ||||
-rw-r--r-- | os/hal/ports/STM32/LLD/USARTv2/uart_lld.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/LLD/USARTv1/uart_lld.c b/os/hal/ports/STM32/LLD/USARTv1/uart_lld.c index ec422dc6c..c3a84b6b1 100644 --- a/os/hal/ports/STM32/LLD/USARTv1/uart_lld.c +++ b/os/hal/ports/STM32/LLD/USARTv1/uart_lld.c @@ -282,7 +282,7 @@ static void uart_lld_serve_tx_end_irq(UARTDriver *uartp, uint32_t flags) { dmaStreamDisable(uartp->dmatx);
/* A callback is generated, if enabled, after a completed transfer.*/
- _uart_wakeup_tx1_isr(uartp);
+ _uart_tx1_isr_code(uartp);
}
/**
@@ -310,7 +310,7 @@ static void serve_usart_irq(UARTDriver *uartp) { u->CR1 = cr1 & ~USART_CR1_TCIE;
/* End of transmission, a callback is generated.*/
- _uart_wakeup_tx2_isr(uartp);
+ _uart_tx2_isr_code(uartp);
}
}
diff --git a/os/hal/ports/STM32/LLD/USARTv2/uart_lld.c b/os/hal/ports/STM32/LLD/USARTv2/uart_lld.c index 7594669f0..7445efc5a 100644 --- a/os/hal/ports/STM32/LLD/USARTv2/uart_lld.c +++ b/os/hal/ports/STM32/LLD/USARTv2/uart_lld.c @@ -296,7 +296,7 @@ static void uart_lld_serve_tx_end_irq(UARTDriver *uartp, uint32_t flags) { dmaStreamDisable(uartp->dmatx);
/* A callback is generated, if enabled, after a completed transfer.*/
- _uart_wakeup_tx1_isr(uartp);
+ _uart_tx1_isr_code(uartp);
}
/**
@@ -323,7 +323,7 @@ static void serve_usart_irq(UARTDriver *uartp) { u->CR1 = cr1 & ~USART_CR1_TCIE;
/* End of transmission, a callback is generated.*/
- _uart_wakeup_tx2_isr(uartp);
+ _uart_tx2_isr_code(uartp);
}
}
|