From d419ed460bf1051971b9ed055d754dce0953e8c1 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 9 Jul 2010 10:47:03 +0000 Subject: [PATCH] Silence warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4019 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/spi_dma_at91.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/cpu/arm/drv/spi_dma_at91.c b/bertos/cpu/arm/drv/spi_dma_at91.c index 25a10410..c4cbf2da 100644 --- a/bertos/cpu/arm/drv/spi_dma_at91.c +++ b/bertos/cpu/arm/drv/spi_dma_at91.c @@ -92,7 +92,7 @@ static size_t spi_dma_write(struct KFile *fd, const void *_buf, size_t size) */ static const uint8_t tx_dummy_buf[CONFIG_SPI_DMA_MAX_RX] = { [0 ... (CONFIG_SPI_DMA_MAX_RX - 1)] = 0xFF }; -static size_t spi_dma_read(struct KFile *fd, void *_buf, size_t size) +static size_t spi_dma_read(UNUSED_ARG(struct KFile *, fd), void *_buf, size_t size) { size_t count, total_rx = 0; uint8_t *buf = (uint8_t *)_buf; -- 2.25.1