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

修正components.h中使能RT_USING_DFS_RAMFS宏时,加入ramfs.h头文件
This commit is contained in:
FlyLu 2016-02-20 14:53:39 +08:00
parent 7dfac0f78e
commit 0b3dd47347
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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