diff options
Diffstat (limited to 'stmhal/modpyb.c')
| -rw-r--r-- | stmhal/modpyb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/modpyb.c b/stmhal/modpyb.c index ace0020f7..4b81d51e3 100644 --- a/stmhal/modpyb.c +++ b/stmhal/modpyb.c @@ -141,7 +141,7 @@ STATIC mp_obj_t pyb_info(uint n_args, const mp_obj_t *args) { { DWORD nclst; FATFS *fatfs; - f_getfree("0:", &nclst, &fatfs); + f_getfree("/flash", &nclst, &fatfs); printf("LFS free: %u bytes\n", (uint)(nclst * fatfs->csize * 512)); } |
