X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/0f45b9c8e076483cd546d0bc9c606b73455295c6..279e1b6ece7fbc90db6cb642f1c289b45648cf9c:/Projects/TempDataLogger/Lib/FATFs/ff.c?ds=inline diff --git a/Projects/TempDataLogger/Lib/FATFs/ff.c b/Projects/TempDataLogger/Lib/FATFs/ff.c index 0aedb6bc4..ab53ea598 100644 --- a/Projects/TempDataLogger/Lib/FATFs/ff.c +++ b/Projects/TempDataLogger/Lib/FATFs/ff.c @@ -1723,7 +1723,7 @@ FRESULT chk_mounted ( /* FR_OK(0): successful, !=0: any error occurred */ if (fmt == 3) return FR_DISK_ERR; if (fmt) return FR_NO_FILESYSTEM; /* No FAT volume is found */ - /* Following code initialises the file system object */ + /* Following code initializes the file system object */ if (LD_WORD(fs->win+BPB_BytsPerSec) != SS(fs)) /* (BPB_BytsPerSec must be equal to the physical sector size) */ return FR_NO_FILESYSTEM; @@ -2289,7 +2289,7 @@ FRESULT f_close ( #if _FS_REENTRANT res = validate(fp->fs, fp->id); if (res == FR_OK) { - res = dec_lock(fp->fs, fp->lockid); + res = dec_lock(fp->fs, fp->lockid); unlock_fs(fp->fs, FR_OK); } #else @@ -3539,7 +3539,7 @@ int f_printf ( res++; } do { - cc = f_putc(s[--i], fil); + cc = f_putc(s[--i], fil); res++; } while (i && cc != EOF); if (cc != EOF) cc = 0; @@ -3551,3 +3551,4 @@ int f_printf ( #endif /* !_FS_READONLY */ #endif /* _USE_STRFUNC */ +