diff options
Diffstat (limited to 'stmhal/mpconfigport.h')
| -rw-r--r-- | stmhal/mpconfigport.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index cea8a3ecb..8d1239736 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -53,7 +53,7 @@ #define MICROPY_FATFS_LFN_CODE_PAGE (437) /* 1=SFN/ANSI 437=LFN/U.S.(OEM) */ #define MICROPY_FATFS_USE_LABEL (1) #define MICROPY_FATFS_RPATH (2) -#define MICROPY_FATFS_VOLUMES (3) +#define MICROPY_FATFS_VOLUMES (4) #define MICROPY_FATFS_MULTI_PARTITION (1) #define MICROPY_FSUSERMOUNT (1) @@ -183,8 +183,8 @@ extern const struct _mp_obj_module_t mp_module_network; /* pointers to all CAN objects (if they have been created) */ \ struct _pyb_can_obj_t *pyb_can_obj_all[2]; \ \ - /* for user-mountable block device */ \ - struct _fs_user_mount_t *fs_user_mount; \ + /* for user-mountable block device (max fixed at compile time) */ \ + struct _fs_user_mount_t *fs_user_mount[MICROPY_FATFS_VOLUMES]; \ \ /* list of registered NICs */ \ mp_obj_list_t mod_network_nic_list; \ |
