From 5da8c4a4b9a591351eb3a37e45fb6da752ea9c10 Mon Sep 17 00:00:00 2001 From: Christopher Williams Date: Fri, 26 Apr 2019 17:42:50 -0700 Subject: [PATCH] R0.13c patch 4 April 13, 2019 Some compiler warns about unused variable and something. --- source/ff.c | 2 +- source/ff.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ff.c b/source/ff.c index e01f5f8..4a1a2bf 100644 --- a/source/ff.c +++ b/source/ff.c @@ -4164,9 +4164,9 @@ FRESULT f_getcwd ( TCHAR *tp = buff; #if FF_VOLUMES >= 2 UINT vl; -#endif #if FF_STR_VOLUME_ID const char *vp; +#endif #endif FILINFO fno; DEF_NAMBUF diff --git a/source/ff.h b/source/ff.h index e5f14a8..db988e6 100644 --- a/source/ff.h +++ b/source/ff.h @@ -305,7 +305,7 @@ FRESULT f_getfree (const TCHAR* path, DWORD* nclst, FATFS** fatfs); /* Get numbe FRESULT f_getlabel (const TCHAR* path, TCHAR* label, DWORD* vsn); /* Get volume label */ FRESULT f_setlabel (const TCHAR* label); /* Set volume label */ FRESULT f_forward (FIL* fp, UINT(*func)(const BYTE*,UINT), UINT btf, UINT* bf); /* Forward data to the stream */ -FRESULT f_expand (FIL* fp, FSIZE_t szf, BYTE opt); /* Allocate a contiguous block to the file */ +FRESULT f_expand (FIL* fp, FSIZE_t fsz, BYTE opt); /* Allocate a contiguous block to the file */ FRESULT f_mount (FATFS* fs, const TCHAR* path, BYTE opt); /* Mount/Unmount a logical drive */ FRESULT f_mkfs (const TCHAR* path, BYTE opt, DWORD au, void* work, UINT len); /* Create a FAT volume */ FRESULT f_fdisk (BYTE pdrv, const DWORD* szt, void* work); /* Divide a physical drive into some partitions */