Commit 1eac664
committed
mimxrt/machine_sdcard: Fix buffer type in writeblocks.
The writeblocks function was requesting the buffer as MP_BUFFER_WRITE
when it should be MP_BUFFER_READ, since we read FROM the buffer to
write TO the card. This was preventing VFS operations like mkfs and
mount from working, as FatFS passes const buffers for write operations.
Signed-off-by: Andrew Leech <[email protected]>1 parent 04bbc16 commit 1eac664
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments