File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,11 @@ typedef struct _mp_state_vm_t {
136136 mp_obj_t lwip_slip_stream ;
137137 #endif
138138
139+ #if MICROPY_FSUSERMOUNT
140+ // for user-mountable block device (max fixed at compile time)
141+ struct _fs_user_mount_t * fs_user_mount [MICROPY_FATFS_VOLUMES ];
142+ #endif
143+
139144 //
140145 // END ROOT POINTER SECTION
141146 ////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -183,9 +183,6 @@ extern const struct _mp_obj_module_t mp_module_network;
183183 /* pointers to all CAN objects (if they have been created) */ \
184184 struct _pyb_can_obj_t * pyb_can_obj_all [2 ]; \
185185 \
186- /* for user-mountable block device (max fixed at compile time) */ \
187- struct _fs_user_mount_t * fs_user_mount [MICROPY_FATFS_VOLUMES ]; \
188- \
189186 /* list of registered NICs */ \
190187 mp_obj_list_t mod_network_nic_list ; \
191188
Original file line number Diff line number Diff line change @@ -264,8 +264,6 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
264264#define MICROPY_PORT_ROOT_POINTERS \
265265 const char *readline_hist[50]; \
266266 mp_obj_t keyboard_interrupt_obj; \
267- /* for user-mountable block device (max fixed at compile time) */ \
268- struct _fs_user_mount_t * fs_user_mount [MICROPY_FATFS_VOLUMES ]; \
269267 void *mmap_region_head; \
270268
271269// We need to provide a declaration/definition of alloca()
You can’t perform that action at this time.
0 commit comments