mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 00:29:46 +01:00
drivers/mtd_sdcard: use XFA with MTD pointers
This commit is contained in:
parent
739cb53ca9
commit
e5c541b77c
@ -241,7 +241,7 @@ const mtd_desc_t mtd_sdcard_driver = {
|
||||
.params = &sdcard_spi_params[n] \
|
||||
}; \
|
||||
\
|
||||
mtd_dev_t CONCAT(*mtd, m) = (mtd_dev_t *)&mtd_sdcard_dev ## n
|
||||
XFA_CONST(mtd_dev_xfa, m) mtd_dev_t CONCAT(*mtd, m) = (mtd_dev_t *)&mtd_sdcard_dev ## n
|
||||
|
||||
#define MTD_SDCARD_DEV_FS(n, m, filesystem) \
|
||||
VFS_AUTO_MOUNT(filesystem, VFS_MTD(mtd_sdcard_dev ## n), VFS_DEFAULT_SD(n), m)
|
||||
|
Loading…
Reference in New Issue
Block a user