minor corrections to adhere contiki code style guidelines

This commit is contained in:
Giovanni `evilaliv3` Pellerano 2012-12-21 12:36:29 +01:00
parent aa07993d36
commit ee556dcf14
7 changed files with 47 additions and 47 deletions

View file

@ -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; \
} \
}