projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a7e1b46
)
Fix: accidentially deleted line in fpgaloader.c
author
pwpiwi
<pwpiwi@users.noreply.github.com>
Mon, 24 Sep 2018 11:03:13 +0000
(13:03 +0200)
committer
pwpiwi
<pwpiwi@users.noreply.github.com>
Mon, 24 Sep 2018 11:03:13 +0000
(13:03 +0200)
armsrc/fpgaloader.c
patch
|
blob
|
blame
|
history
diff --git
a/armsrc/fpgaloader.c
b/armsrc/fpgaloader.c
index a132b762e406e12a2018f0279ea61cc0dba417b0..45294d6008fbf47ed628d19b6a92c25778a758b9 100644
(file)
--- a/
armsrc/fpgaloader.c
+++ b/
armsrc/fpgaloader.c
@@
-167,7
+167,7
@@
bool FpgaSetupSscDma(uint8_t *buf, uint16_t sample_count)
AT91C_BASE_PDC_SSC->PDC_RCR = sample_count; // transfer this many samples
AT91C_BASE_PDC_SSC->PDC_RNPR = (uint32_t) buf; // next transfer to same memory address
AT91C_BASE_PDC_SSC->PDC_RNCR = sample_count; // ... with same number of samples AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTEN; // go!
AT91C_BASE_PDC_SSC->PDC_RCR = sample_count; // transfer this many samples
AT91C_BASE_PDC_SSC->PDC_RNPR = (uint32_t) buf; // next transfer to same memory address
AT91C_BASE_PDC_SSC->PDC_RNCR = sample_count; // ... with same number of samples AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTEN; // go!
-
+ AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTEN; // go!
return true;
}
return true;
}
Impressum
,
Datenschutz