Explorar o código

[bsp] fix spi4 typo

liang yongxiang %!s(int64=8) %!d(string=hai) anos
pai
achega
99e5b0a518
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,