Fixed programming errors in the AVRISP-MKII project when the programming packet is...
[pub/USBasp.git] / Projects / TempDataLogger / Lib / FATFs / ff.c
index 0aedb6b..ab53ea5 100644 (file)
@@ -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 */
+