From: uhei Date: Mon, 17 Sep 2018 05:55:51 +0000 (+0200) Subject: fpgaloader: fix function accordingly to #669 (#673) X-Git-Tag: v3.1.0~19 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/b4ba1eeabeb2bd91302d4536f4406ba6c52ef46b fpgaloader: fix function accordingly to #669 (#673) FpgaSetupSscDma uses uint16_t and not int with #669 --- diff --git a/armsrc/fpgaloader.h b/armsrc/fpgaloader.h index f75dfc81..5aff6505 100644 --- 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;