mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 21:22:19 +08:00
Enclosed naked statements with braces to avoid C compliler misleading-indentation 'guard' warning.
This commit is contained in:
parent
666284b130
commit
34b076f7af
1 changed files with 6 additions and 3 deletions
|
@ -395,8 +395,9 @@ static void sendNFCToFPGA(uint8_t * frame, int len, uint32_t waitTill, uint8_t p
|
||||||
AT91C_BASE_SSC->SSC_THR = 0x00;
|
AT91C_BASE_SSC->SSC_THR = 0x00;
|
||||||
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;
|
b = (uint16_t)(AT91C_BASE_SSC->SSC_RHR); (void)b;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for(c = 0; c < len;) {
|
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];
|
AT91C_BASE_SSC->SSC_THR = frame[c];
|
||||||
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;
|
b = (uint16_t)(AT91C_BASE_SSC->SSC_RHR); (void)b;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
while(!(AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_TXRDY))) {};
|
while(!(AT91C_BASE_SSC->SSC_SR & (AT91C_SSC_TXRDY))) {};
|
||||||
|
@ -589,8 +591,9 @@ void HfDumpFelicaLiteS() {
|
||||||
if(!crc_tabccitt_init)
|
if(!crc_tabccitt_init)
|
||||||
init_crcccitt_tab();
|
init_crcccitt_tab();
|
||||||
|
|
||||||
if(!manch_tbl_fill)
|
if(!manch_tbl_fill) {
|
||||||
fillManch();
|
fillManch();
|
||||||
|
}
|
||||||
|
|
||||||
ResetNFCFrame();
|
ResetNFCFrame();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue