diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-11 18:22:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-11 18:22:27 +0000 |
commit | 205242a575697630d073edc02a6341e6d9be22a6 (patch) | |
tree | 55bdc1b853ebf75814934f703ed60373b1e2e0e1 /nuttx/fs/fat/fs_fat32util.c | |
parent | 88da8a5b4f042532c0b980510b0d90b77158eff4 (diff) | |
download | px4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.tar.gz px4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.tar.bz2 px4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.zip |
Add beginning of a simple granule allocator to support DMA IO buffer allocation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5129 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fat/fs_fat32util.c')
-rw-r--r-- | nuttx/fs/fat/fs_fat32util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fat/fs_fat32util.c b/nuttx/fs/fat/fs_fat32util.c index f8f5ef495..7231456d7 100644 --- a/nuttx/fs/fat/fs_fat32util.c +++ b/nuttx/fs/fat/fs_fat32util.c @@ -668,7 +668,7 @@ int fat_mount(struct fat_mountpt_s *fs, bool writeable) return OK; errout_with_buffer: - fat_io_free(fs->fs_buffer); + fat_io_free(fs->fs_buffer, fs->fs_hwsectorsize); fs->fs_buffer = 0; errout: fs->fs_mounted = false; |