Cosmetic... removed checks for non-existent configuration setting
This commit is contained in:
parent
f3bcfab22b
commit
586a363391
|
@ -71,12 +71,6 @@
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
/* Configuration ************************************************************/
|
||||
/* SPI interrupts */
|
||||
|
||||
#ifdef CONFIG_EFM32_SPI_INTERRUPTS
|
||||
# error Interrupt driven SPI not yet supported
|
||||
#endif
|
||||
|
||||
/* SPI DMA */
|
||||
|
||||
#ifndef CONFIG_EFM32_SPI_DMA_TIMEO_NSEC
|
||||
|
@ -87,12 +81,6 @@
|
|||
# define CONFIG_EFM32_SPI_DMA_MINSIZE 16
|
||||
#endif
|
||||
|
||||
/* Can't have both interrupt driven SPI and SPI DMA */
|
||||
|
||||
#if defined(CONFIG_EFM32_SPI_INTERRUPTS) && defined(CONFIG_EFM32_SPI_DMA)
|
||||
# error Cannot enable both interrupt mode and DMA mode for SPI
|
||||
#endif
|
||||
|
||||
/* DMA definitions **********************************************************/
|
||||
|
||||
#define SPI_DMA8_CONFIG (EFM32_DMA_XFERSIZE_BYTE| EFM32_DMA_MEMINCR)
|
||||
|
|
Loading…
Reference in New Issue