Enclosed naked statements with braces to avoid C compliler misleading-indentation 'guard' warning.

This commit is contained in:
57ca2b96b7444cb986b2d6cf51d25ffd86c57743 2017-10-23 17:37:29 -04:00
parent 666284b130
commit 34b076f7af

View file

@ -395,8 +395,9 @@ static void sendNFCToFPGA(uint8_t * frame, int len, uint32_t waitTill, uint8_t p
AT91C_BASE_SSC->SSC_THR = 0x00;
c++;
}
if (AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_RXRDY))
if (AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_RXRDY)) {
b = (uint16_t)(AT91C_BASE_SSC->SSC_RHR); (void)b;
}
}
for(c = 0; c < len;) {
@ -404,8 +405,9 @@ static void sendNFCToFPGA(uint8_t * frame, int len, uint32_t waitTill, uint8_t p
AT91C_BASE_SSC->SSC_THR = frame[c];
c++;
}
if (AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_RXRDY))
if (AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_RXRDY)) {
b = (uint16_t)(AT91C_BASE_SSC->SSC_RHR); (void)b;
}
}
while(!(AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_TXRDY))) {};
@ -589,8 +591,9 @@ void HfDumpFelicaLiteS() {
if(!crc_tabccitt_init)
init_crcccitt_tab();
if(!manch_tbl_fill)
if(!manch_tbl_fill) {
fillManch();
}
ResetNFCFrame();