Minor documentation adjustments to the demos, projects and bootloaders to ensure...
[pub/USBasp.git] / Projects / TempDataLogger / Lib / FATFs / ff.c
index 4f76915..1b7c7ca 100644 (file)
@@ -946,7 +946,7 @@ FRESULT remove_chain (
 #if _USE_ERASE
                        if (ecl + 1 == nxt) {   /* Next cluster is contiguous */
                                ecl = nxt;
 #if _USE_ERASE
                        if (ecl + 1 == nxt) {   /* Next cluster is contiguous */
                                ecl = nxt;
-                       } else {                                /* End of contiguous clusters */ 
+                       } else {                                /* End of contiguous clusters */
                                resion[0] = clust2sect(fs, scl);                                        /* Start sector */
                                resion[1] = clust2sect(fs, ecl) + fs->csize - 1;        /* End sector */
                                disk_ioctl(fs->drv, CTRL_ERASE_SECTOR, resion);         /* Erase the block */
                                resion[0] = clust2sect(fs, scl);                                        /* Start sector */
                                resion[1] = clust2sect(fs, ecl) + fs->csize - 1;        /* End sector */
                                disk_ioctl(fs->drv, CTRL_ERASE_SECTOR, resion);         /* Erase the block */
@@ -2650,7 +2650,7 @@ FRESULT f_close (
 #if _FS_REENTRANT
                res = validate(fp->fs, fp->id);
                if (res == FR_OK) {
 #if _FS_REENTRANT
                res = validate(fp->fs, fp->id);
                if (res == FR_OK) {
-                       res = dec_lock(fp->lockid);     
+                       res = dec_lock(fp->lockid);
                        unlock_fs(fp->fs, FR_OK);
                }
 #else
                        unlock_fs(fp->fs, FR_OK);
                }
 #else
@@ -2749,7 +2749,7 @@ FRESULT f_getcwd (
                                res = dir_read(&dj);
                                if (res != FR_OK) break;
                                if (ccl == LD_CLUST(dj.dir)) break;     /* Found the entry */
                                res = dir_read(&dj);
                                if (res != FR_OK) break;
                                if (ccl == LD_CLUST(dj.dir)) break;     /* Found the entry */
-                               res = dir_next(&dj, 0); 
+                               res = dir_next(&dj, 0);
                        } while (res == FR_OK);
                        if (res == FR_NO_FILE) res = FR_INT_ERR;/* It cannot be 'not found'. */
                        if (res != FR_OK) break;
                        } while (res == FR_OK);
                        if (res == FR_NO_FILE) res = FR_INT_ERR;/* It cannot be 'not found'. */
                        if (res != FR_OK) break;
@@ -3978,3 +3978,4 @@ int f_printf (
 
 #endif /* !_FS_READONLY */
 #endif /* _USE_STRFUNC */
 
 #endif /* !_FS_READONLY */
 #endif /* _USE_STRFUNC */
+