From b4ba1eeabeb2bd91302d4536f4406ba6c52ef46b Mon Sep 17 00:00:00 2001 From: uhei Date: Mon, 17 Sep 2018 07:55:51 +0200 Subject: [PATCH 1/1] fpgaloader: fix function accordingly to #669 (#673) FpgaSetupSscDma uses uint16_t and not int with #669 --- armsrc/fpgaloader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5