提交 0b3dd473 编写于 作者: F FlyLu

修正ramfs.h中防止重复包含的宏定义名称

修正components.h中使能RT_USING_DFS_RAMFS宏时,加入ramfs.h头文件
上级 7dfac0f7
......@@ -23,8 +23,8 @@
* 2013-05-05 Bernard remove CRC for ramfs persistence
*/
#ifndef __DFS_ROMFS_H__
#define __DFS_ROMFS_H__
#ifndef __DFS_RAMFS_H__
#define __DFS_RAMFS_H__
#include <rtthread.h>
#include <rtservice.h>
......
......@@ -63,8 +63,8 @@
#ifdef RT_USING_DFS_YAFFS2
#include <dfs_yaffs2.h>
#endif
#ifdef RT_USING_DFS_ROMFS
#include <dfs_romfs.h>
#ifdef RT_USING_DFS_RAMFS
#include <dfs_ramfs.h>
#endif
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册