diff options
-rw-r--r-- | demos/ARMCM4-STM32F407-DISCOVERY/main.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY/main.c b/demos/ARMCM4-STM32F407-DISCOVERY/main.c index 5984538a2..6d0ac5cdb 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY/main.c +++ b/demos/ARMCM4-STM32F407-DISCOVERY/main.c @@ -78,19 +78,6 @@ static PWMConfig pwmcfg = { };
/*
- * SPI1 configuration structure.
- * Speed 5.25MHz, CPHA=1, CPOL=1, 8bits frames, MSb transmitted first.
- * The slave select line is the pin GPIOE_CS_SPI on the port GPIOE.
- */
-static const SPIConfig spi1cfg = {
- NULL,
- /* HW dependent part.*/
- GPIOE,
- GPIOE_CS_SPI,
- SPI_CR1_BR_0 | SPI_CR1_BR_1 | SPI_CR1_CPOL | SPI_CR1_CPHA
-};
-
-/*
* SPI2 configuration structure.
* Speed 21MHz, CPHA=0, CPOL=0, 16bits frames, MSb transmitted first.
* The slave select line is the pin 12 on the port GPIOA.
|