mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
old-style-declaration
This commit is contained in:
parent
8ee8bb9098
commit
aca5458344
1 changed files with 3 additions and 3 deletions
|
@ -682,12 +682,12 @@ void RAMFUNC SniffIso14443a(uint8_t param) {
|
||||||
uint32_t rx_samples = 0;
|
uint32_t rx_samples = 0;
|
||||||
|
|
||||||
// loop and listen
|
// loop and listen
|
||||||
while (!BUTTON_PRESS()) {
|
while (BUTTON_PRESS() == false) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
LED_A_ON();
|
LED_A_ON();
|
||||||
|
|
||||||
int register readBufDataP = data - dma->buf;
|
register int readBufDataP = data - dma->buf;
|
||||||
int register dmaBufDataP = DMA_BUFFER_SIZE - AT91C_BASE_PDC_SSC->PDC_RCR;
|
register int dmaBufDataP = DMA_BUFFER_SIZE - AT91C_BASE_PDC_SSC->PDC_RCR;
|
||||||
if (readBufDataP <= dmaBufDataP)
|
if (readBufDataP <= dmaBufDataP)
|
||||||
dataLen = dmaBufDataP - readBufDataP;
|
dataLen = dmaBufDataP - readBufDataP;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue