mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
syntax sugar
This commit is contained in:
parent
adb9e94487
commit
49735b62f1
2 changed files with 4 additions and 4 deletions
|
@ -367,10 +367,11 @@ void AcquireTiType(void)
|
|||
LED_D_OFF();
|
||||
|
||||
i = 0;
|
||||
for(;;) {
|
||||
if(AT91C_BASE_SSC->SSC_SR & AT91C_SSC_RXRDY) {
|
||||
for (;;) {
|
||||
if (AT91C_BASE_SSC->SSC_SR & AT91C_SSC_RXRDY) {
|
||||
buf[i] = AT91C_BASE_SSC->SSC_RHR; // store 32 bit values in buffer
|
||||
i++; if(i >= TIBUFLEN) break;
|
||||
i++;
|
||||
if (i >= TIBUFLEN) break;
|
||||
}
|
||||
WDT_HIT();
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "usb_cdc.h"
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
struct common_area common_area __attribute__((section(".commonarea")));
|
||||
unsigned int start_addr, end_addr, bootrom_unlocked;
|
||||
extern char _bootrom_start, _bootrom_end, _flash_start, _flash_end;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue