mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
extmod: Factor out block-device struct to make independent of fatfs.
This commit is contained in:
@@ -180,7 +180,7 @@ pin_init0();
|
||||
}
|
||||
vfs->str = "/sd";
|
||||
vfs->len = 3;
|
||||
vfs->flags = FSUSER_FREE_OBJ;
|
||||
vfs->flags = MP_BLOCKDEV_FLAG_FREE_OBJ;
|
||||
sdcard_init_vfs(vfs);
|
||||
|
||||
// put the sd device in slot 1 (it will be unused at this point)
|
||||
|
||||
Reference in New Issue
Block a user