Removed some dead code.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13828 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2020-09-01 13:53:51 +00:00
parent af500bf5ac
commit 281f23ea19
1 changed files with 0 additions and 5 deletions

View File

@ -473,7 +473,6 @@ void sio_lld_start_operation(SIODriver *siop) {
cr1irq = 0U;
cr2irq = 0U;
cr3irq = 0U;
evtmask = 0U;
if (siop->operation->rx_cb != NULL) {
cr3irq |= USART_CR3_RXFTIE;
}
@ -712,7 +711,6 @@ void sio_lld_serve_interrupt(SIODriver *siop) {
/* Note, ISR flags are just read but not cleared, ISR sources are
disabled instead.*/
isr = u->ISR;
// u->ICR = isr & ~USART_ISR_TC;
/* One read on control registers.*/
cr1 = u->CR1;
@ -727,9 +725,6 @@ void sio_lld_serve_interrupt(SIODriver *siop) {
/* One read on control registers.*/
cr2 = u->CR2;
/* Storing events in the accumulation field.*/
// siop->events |= evtmask;
/* The callback is invoked if defined.*/
__sio_callback_rx_evt(siop);