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
This commit is contained in:
edolomb 2017-08-28 13:49:55 +00:00
parent 76867afdb2
commit 8e602ff3f5
1 changed files with 0 additions and 8 deletions

View File

@ -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