diff options
Diffstat (limited to 'ports/zephyr/main.c')
| -rw-r--r-- | ports/zephyr/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/zephyr/main.c b/ports/zephyr/main.c index f8ec0a0d2..7172f3782 100644 --- a/ports/zephyr/main.c +++ b/ports/zephyr/main.c @@ -100,8 +100,8 @@ STATIC void vfs_init(void) { const char *mount_point_str = NULL; int ret = 0; - #ifdef CONFIG_DISK_ACCESS_SDHC - mp_obj_t args[] = { mp_obj_new_str(CONFIG_DISK_SDHC_VOLUME_NAME, strlen(CONFIG_DISK_SDHC_VOLUME_NAME)) }; + #ifdef CONFIG_DISK_DRIVER_SDMMC + mp_obj_t args[] = { mp_obj_new_str(CONFIG_SDMMC_VOLUME_NAME, strlen(CONFIG_SDMMC_VOLUME_NAME)) }; bdev = zephyr_disk_access_type.make_new(&zephyr_disk_access_type, ARRAY_SIZE(args), 0, args); mount_point_str = "/sd"; #elif defined(CONFIG_FLASH_MAP) && FLASH_AREA_LABEL_EXISTS(storage) |
