mirror of https://github.com/rusefi/ChibiOS.git
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:
parent
76867afdb2
commit
8e602ff3f5
|
@ -64,14 +64,6 @@
|
||||||
#define SAMA_DMA_REQUIRED
|
#define SAMA_DMA_REQUIRED
|
||||||
#endif
|
#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
|
#if !SAMA_SPI_USE_SPI0 && !SAMA_SPI_USE_SPI1
|
||||||
#error "SPI driver activated but no SPI peripheral assigned"
|
#error "SPI driver activated but no SPI peripheral assigned"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue