projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed programming errors in the AVRISP-MKII project when the programming packet is...
[pub/USBasp.git]
/
Projects
/
TempDataLogger
/
Lib
/
FATFs
/
ff.c
diff --git
a/Projects/TempDataLogger/Lib/FATFs/ff.c
b/Projects/TempDataLogger/Lib/FATFs/ff.c
index
0aedb6b
..
ab53ea5
100644
(file)
--- 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 */
if (fmt == 3) return FR_DISK_ERR;
if (fmt) return FR_NO_FILESYSTEM; /* No FAT volume is found */
- /* Following code initiali
s
es the file system object */
+ /* Following code initiali
z
es 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;
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) {
#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
unlock_fs(fp->fs, FR_OK);
}
#else
@@
-3539,7
+3539,7
@@
int f_printf (
res++;
}
do {
res++;
}
do {
- cc = f_putc(s[--i], fil);
+ cc = f_putc(s[--i], fil);
res++;
} while (i && cc != EOF);
if (cc != EOF) cc = 0;
res++;
} while (i && cc != EOF);
if (cc != EOF) cc = 0;
@@
-3551,3
+3551,4
@@
int f_printf (
#endif /* !_FS_READONLY */
#endif /* _USE_STRFUNC */
#endif /* !_FS_READONLY */
#endif /* _USE_STRFUNC */
+