diff options
Diffstat (limited to 'os/hal/lib')
-rw-r--r-- | os/hal/lib/complex/mfs/mfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/lib/complex/mfs/mfs.c b/os/hal/lib/complex/mfs/mfs.c index 87ff1f365..8cede8416 100644 --- a/os/hal/lib/complex/mfs/mfs.c +++ b/os/hal/lib/complex/mfs/mfs.c @@ -196,6 +196,7 @@ static mfs_error_t mfs_flash_write(MFSDriver *mfsp, return MFS_ERR_FLASH_FAILURE;
}
n -= chunk;
+ offset += (flash_offset_t)chunk;
wp += chunk;
}
#endif
|