diff options
| author | Bernard Xiong <[email protected]> | 2021-01-22 18:24:04 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-22 18:24:04 +0800 |
| commit | b36aeb46a681b28224e851eb560dd71dcc502b3d (patch) | |
| tree | 29b4e87291420f932e4bdc433eac626648c3a44d /components | |
| parent | 30662913372fc630446fa847d3ede1f7728fa3f4 (diff) | |
| parent | a04bb0be3ad92256f47ddc747c6e09e2eec094db (diff) | |
Merge pull request #4226 from redocCheng/master
解决添加RT_USING_MTD_NOR编译报错的问题
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/spi/spi_flash.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/spi/spi_flash.h b/components/drivers/spi/spi_flash.h index 30db32474a..82b1ab2ecd 100644 --- a/components/drivers/spi/spi_flash.h +++ b/components/drivers/spi/spi_flash.h @@ -6,11 +6,14 @@ * Change Logs: * Date Author Notes * 2016/5/20 bernard the first version + * 2020/1/7 redoc add include */ #ifndef SPI_FLASH_H__ #define SPI_FLASH_H__ +#include <rtdevice.h> + struct spi_flash_device { struct rt_device flash_device; |
