Fixed bug #672.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8493 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
fd26fb26f4
commit
9896e5a254
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue