diff options
Diffstat (limited to 'firmware/export/hostfs.h')
-rw-r--r-- | firmware/export/hostfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/hostfs.h b/firmware/export/hostfs.h index a24d009ca9..fa916870f3 100644 --- a/firmware/export/hostfs.h +++ b/firmware/export/hostfs.h | |||
@@ -60,6 +60,9 @@ extern int hostfs_driver_type(int drive); | |||
60 | # define hostfs_driver_type(drive) (STORAGE_NAND_NUM) | 60 | # define hostfs_driver_type(drive) (STORAGE_NAND_NUM) |
61 | # elif (CONFIG_STORAGE & STORAGE_RAMDISK) | 61 | # elif (CONFIG_STORAGE & STORAGE_RAMDISK) |
62 | # define hostfs_driver_type(drive) (STORAGE_RAMDISK_NUM) | 62 | # define hostfs_driver_type(drive) (STORAGE_RAMDISK_NUM) |
63 | /* we may have hostfs without application when building sims for applications! */ | ||
64 | # elif (CONFIG_STORAGE & STORAGE_HOSTFS) | ||
65 | # define hostfs_driver_type(drive) (STORAGE_HOSTFS_NUM) | ||
63 | # else | 66 | # else |
64 | # error Unknown storage driver | 67 | # error Unknown storage driver |
65 | # endif /* CONFIG_STORAGE */ | 68 | # endif /* CONFIG_STORAGE */ |