diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-16 15:09:53 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-16 15:09:53 +0000 |
commit | 7d16de81a0a6e8c8f08e52d89775952c38722924 (patch) | |
tree | a2d81dddb1a379a836dd7ccbf425681335fc5942 /os/hal/lib/complex | |
parent | 6ff9fd4af9df7d24d66f78ee7bba4088aaca4445 (diff) | |
download | ChibiOS-7d16de81a0a6e8c8f08e52d89775952c38722924.tar.gz ChibiOS-7d16de81a0a6e8c8f08e52d89775952c38722924.tar.bz2 ChibiOS-7d16de81a0a6e8c8f08e52d89775952c38722924.zip |
More bug fixes in MFS.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11020 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/lib/complex')
-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
|