aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authoredolomb <none@example.com>2017-08-28 13:49:55 +0000
committeredolomb <none@example.com>2017-08-28 13:49:55 +0000
commit8e602ff3f5192cd7608fe54599064985550d1372 (patch)
treeb7bdd1cc449dc36932990f8ffb5f01413eed9b4a /os
parent76867afdb24af679a31186e1ed1186ffb012c058 (diff)
downloadChibiOS-8e602ff3f5192cd7608fe54599064985550d1372.tar.gz
ChibiOS-8e602ff3f5192cd7608fe54599064985550d1372.tar.bz2
ChibiOS-8e602ff3f5192cd7608fe54599064985550d1372.zip
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
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h8
1 files changed, 0 insertions, 8 deletions
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