Browse Source

[bsp] fix spi4 typo

liang yongxiang 7 years ago
parent
commit
99e5b0a518
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/stm32f429-apollo/drivers/drv_spi.c

+ 1 - 1
bsp/stm32f429-apollo/drivers/drv_spi.c

@@ -480,7 +480,7 @@ void DMA1_Stream2_IRQHandler(void)
 struct stm32f4_spi stm32f4_spi4 = 
 {
     /* .spi_handle = */{
-        /* .Instance = */ SPI5,
+        /* .Instance = */ SPI4,
     },
     /* .hdma_rx = */ {   
         DMA2_Stream0,