minor corrections to adhere contiki code style guidelines
This commit is contained in:
parent
aa07993d36
commit
ee556dcf14
7 changed files with 47 additions and 47 deletions
|
@ -81,15 +81,15 @@
|
|||
ISR(_UART_##XX##_VECTOR) \
|
||||
{ \
|
||||
volatile uint8_t byte; \
|
||||
if (IFS##Y##bits.U##XX##RXIF) { \
|
||||
if ((U##XX##STAbits.PERR == 0) && (U##XX##STAbits.FERR == 0)) { \
|
||||
if(IFS##Y##bits.U##XX##RXIF) { \
|
||||
if((U##XX##STAbits.PERR == 0) && (U##XX##STAbits.FERR == 0)) { \
|
||||
CALLBACK(U##XX##RXREG); \
|
||||
} else { \
|
||||
byte = U##XX##RXREG; /* NULL READ */ \
|
||||
} \
|
||||
IFS##Y##CLR = _IFS##Y##_U##XX##RXIF_MASK; \
|
||||
} \
|
||||
if (U##XX##STAbits.OERR) { \
|
||||
if(U##XX##STAbits.OERR) { \
|
||||
U##XX##STACLR = _U##XX##STA_OERR_MASK; \
|
||||
} \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue