From 0fa4dee63b53acbb75b0a7a89a918bda08a448b0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 13 Oct 2012 06:53:56 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4742 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM4-STM32F407-DISCOVERY/main.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'demos') 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 @@ -77,19 +77,6 @@ static PWMConfig pwmcfg = { 0 }; -/* - * 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. -- cgit v1.2.3