diff options
| author | Jeff Epler <jepler@gmail.com> | 2021-03-09 11:08:36 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2021-03-09 11:08:36 -0600 |
| commit | 1e5ffe1a53cce31e8335e2f0878963de87dae57f (patch) | |
| tree | e162bbc677059dab671a2b9acdc70f5b256f583d /supervisor | |
| parent | 7d92f5aa5a0736810f882586031a5c4591a1b6a3 (diff) | |
Revert "circuitpy_mpconfig: Disable flash multi-partition"
This reverts commit 156ee4833ab170d598991fd8d4d6f6d04c759744.
Diffstat (limited to 'supervisor')
| -rw-r--r-- | supervisor/shared/flash.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/supervisor/shared/flash.c b/supervisor/shared/flash.c index 66f2f0704..1e09fe14b 100644 --- a/supervisor/shared/flash.c +++ b/supervisor/shared/flash.c @@ -213,9 +213,7 @@ void supervisor_flash_init_vfs(fs_user_mount_t *vfs) { vfs->base.type = &mp_fat_vfs_type; vfs->flags |= FSUSER_NATIVE | FSUSER_HAVE_IOCTL; vfs->fatfs.drv = vfs; -#if MICROPY_FATFS_MULTI_PARTITION vfs->fatfs.part = 1; // flash filesystem lives on first partition -#endif vfs->readblocks[0] = (mp_obj_t)&supervisor_flash_obj_readblocks_obj; vfs->readblocks[1] = (mp_obj_t)&supervisor_flash_obj; vfs->readblocks[2] = (mp_obj_t)flash_read_blocks; // native version |
