Browse Source

[components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题

tangyuxin 6 years ago
parent
commit
5f0bf58069
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/drivers/spi/spi_flash_sfud.h

+ 1 - 0
components/drivers/spi/spi_flash_sfud.h

@@ -12,6 +12,7 @@
 #define _SPI_FLASH_SFUD_H_
 
 #include <rtthread.h>
+#include <rtdevice.h>
 #include "./sfud/inc/sfud.h"
 #include "spi_flash.h"