mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/vfs_default: make include save with !vfs module
This allows to remove #ifdefs on the board level.
This commit is contained in:
parent
f3a487b5e4
commit
4e3151406c
@ -21,7 +21,13 @@
|
|||||||
#define VFS_DEFAULT_H
|
#define VFS_DEFAULT_H
|
||||||
|
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
|
#include "modules.h"
|
||||||
|
#if IS_USED(MODULE_VFS) || DOXYGEN
|
||||||
#include "vfs.h"
|
#include "vfs.h"
|
||||||
|
#else
|
||||||
|
/* don't try to create auto-mounts if there is no VFS module */
|
||||||
|
#define VFS_AUTO_MOUNT(type, mtd, path, idx)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if IS_USED(MODULE_FATFS_VFS)
|
#if IS_USED(MODULE_FATFS_VFS)
|
||||||
#include "fs/fatfs.h"
|
#include "fs/fatfs.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user