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:
parent
af500bf5ac
commit
281f23ea19
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue