Преглед на файлове

[bsp][stm32f103-fire-arbitrary] fix missing header file

Meco Man преди 1 година
родител
ревизия
5cbfb58ce0
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      bsp/stm32/stm32f103-fire-arbitrary/board/ports/spi_flash_init.c

+ 2 - 1
bsp/stm32/stm32f103-fire-arbitrary/board/ports/spi_flash_init.c

@@ -11,7 +11,8 @@
 #include <rtthread.h>
 #include "spi_flash.h"
 #include "spi_flash_sfud.h"
-#include "drv_spi.h"
+#include <drv_spi.h>
+#include <drv_gpio.h>
 
 #if defined(BSP_USING_SPI_FLASH)
 static int rt_hw_spi_flash_init(void)