projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a5d4e1
)
fpgaloader: fix function accordingly to #669 (#673)
author
uhei
<uhei@users.noreply.github.com>
Mon, 17 Sep 2018 05:55:51 +0000
(07:55 +0200)
committer
pwpiwi
<pwpiwi@users.noreply.github.com>
Mon, 17 Sep 2018 05:55:51 +0000
(07:55 +0200)
FpgaSetupSscDma uses uint16_t and not int with #669
armsrc/fpgaloader.h
patch
|
blob
|
blame
|
history
diff --git
a/armsrc/fpgaloader.h
b/armsrc/fpgaloader.h
index f75dfc817f043998f9a138a3c93151b9384e3035..5aff6505654ca8e9cb3bed987c6ca0be2bbee5a0 100644
(file)
--- a/
armsrc/fpgaloader.h
+++ b/
armsrc/fpgaloader.h
@@
-21,7
+21,7
@@
void FpgaWriteConfWord(uint8_t v);
void FpgaDownloadAndGo(int bitstream_version);
void FpgaSetupSsc(uint8_t mode);
void SetupSpi(int mode);
-bool FpgaSetupSscDma(uint8_t *buf,
int len
);
+bool FpgaSetupSscDma(uint8_t *buf,
uint16_t sample_count
);
void Fpga_print_status();
int FpgaGetCurrent();
#define FpgaDisableSscDma(void) AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTDIS;
Impressum
,
Datenschutz