From 8e602ff3f5192cd7608fe54599064985550d1372 Mon Sep 17 00:00:00 2001 From: edolomb Date: Mon, 28 Aug 2017 13:49:55 +0000 Subject: Minor changes in hal_spi_lld driver git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10501 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'os/hal/ports/SAMA/LLD') diff --git a/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h b/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h index 6ae9445ec..1cf26434e 100644 --- a/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h +++ b/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h @@ -64,14 +64,6 @@ #define SAMA_DMA_REQUIRED #endif -#if SAMA_SPI_USE_SPI0 && !SAMA_HAS_SPI0 -#error "SPI0 not present in the selected device" -#endif - -#if SAMA_SPI_USE_SPI1 && !SAMA_HAS_SPI1 -#error "SPI1 not present in the selected device" -#endif - #if !SAMA_SPI_USE_SPI0 && !SAMA_SPI_USE_SPI1 #error "SPI driver activated but no SPI peripheral assigned" #endif -- cgit v1.2.3