From 43bb4bfedb2c8b2ed31adc4d3e262d3c975cbe66 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 2 Mar 2011 15:55:13 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2787 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/spi_lld.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'os/hal/platforms/STM32/spi_lld.c') diff --git a/os/hal/platforms/STM32/spi_lld.c b/os/hal/platforms/STM32/spi_lld.c index dfe72822a..1987373ae 100644 --- a/os/hal/platforms/STM32/spi_lld.c +++ b/os/hal/platforms/STM32/spi_lld.c @@ -218,8 +218,6 @@ void spi_lld_init(void) { dummytx = 0xFFFF; #if STM32_SPI_USE_SPI1 - RCC->APB2RSTR = RCC_APB2RSTR_SPI1RST; - RCC->APB2RSTR = 0; spiObjectInit(&SPID1); SPID1.spd_thread = NULL; SPID1.spd_spi = SPI1; @@ -228,8 +226,6 @@ void spi_lld_init(void) { #endif #if STM32_SPI_USE_SPI2 - RCC->APB1RSTR = RCC_APB1RSTR_SPI2RST; - RCC->APB1RSTR = 0; spiObjectInit(&SPID2); SPID2.spd_thread = NULL; SPID2.spd_spi = SPI2; @@ -238,8 +234,6 @@ void spi_lld_init(void) { #endif #if STM32_SPI_USE_SPI3 - RCC->APB1RSTR = RCC_APB1RSTR_SPI3RST; - RCC->APB1RSTR = 0; spiObjectInit(&SPID3); SPID3.spd_thread = NULL; SPID3.spd_spi = SPI3; -- cgit v1.2.3