]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fpgaloader: fix function accordingly to #669 (#673)
authoruhei <uhei@users.noreply.github.com>
Mon, 17 Sep 2018 05:55:51 +0000 (07:55 +0200)
committerpwpiwi <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

index f75dfc817f043998f9a138a3c93151b9384e3035..5aff6505654ca8e9cb3bed987c6ca0be2bbee5a0 100644 (file)
@@ -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