未验证 提交 3ac86d08 编写于 作者: R redoc 提交者: GitHub

解决添加RT_USING_MTD_NOR编译报错的问题。

上级 84c772ea
......@@ -6,11 +6,18 @@
* 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>
#ifdef RT_USING_MTD_NOR
#include "drivers/mtd_nor.h"
#endif
struct spi_flash_device
{
struct rt_device flash_device;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册