From 1b0d4bc8f190687698dc712e7ca4ebc5b14ce24f Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 6 Mar 2011 00:19:59 +0000 Subject: Correct STM32 SPI3 bug reported by Uros git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3343 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/stm32/stm32_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/arch') diff --git a/nuttx/arch/arm/src/stm32/stm32_spi.c b/nuttx/arch/arm/src/stm32/stm32_spi.c index 5e28ee879..d04b1aef0 100755 --- a/nuttx/arch/arm/src/stm32/stm32_spi.c +++ b/nuttx/arch/arm/src/stm32/stm32_spi.c @@ -303,7 +303,7 @@ static const struct spi_ops_s g_sp3iops = static struct stm32_spidev_s g_spi3dev = { .spidev = { &g_sp3iops }, - .spibase = STM32_SPI2_BASE, + .spibase = STM32_SPI3_BASE, .spiclock = STM32_PCLK1_FREQUENCY, #ifdef CONFIG_STM32_SPI_INTERRUPTS .spiirq = STM32_IRQ_SPI3, -- cgit v1.2.3