summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-08-02 15:58:02 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-08-02 15:58:02 +0000
commit879d8532166bf673c079b9bbcc36948a4ec87a6c (patch)
tree18fde8dcc4dd0dd7c6c63b511e32e92d1e1c734a /firmware/drivers/fat.c
parent31b6b5ff19f0aae2cecce1d9a23f543fd45c43a0 (diff)
Reduced the logf output. Please enable the lines only when necessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10410 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.c')
-rw-r--r--firmware/drivers/fat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index 70a896442c..e1c0a00ab8 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -2303,7 +2303,7 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry)
exceed the buffer. Also check for FAT padding characters 0xFFFF. */
if (fat_copy_long_name_segment(ptr + index + 1, 5,
longname_utf8segm) == 0) break;
- logf("SG: %s, EN: %s", longname_utf8segm, entry->name);
+ // logf("SG: %s, EN: %s", longname_utf8segm, entry->name);
longname_utf8len += strlen(longname_utf8segm);
if (longname_utf8len < FAT_FILENAME_BYTES)
strcat(entry->name, longname_utf8segm);
@@ -2312,7 +2312,7 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry)
if (fat_copy_long_name_segment(ptr + index + 14, 6,
longname_utf8segm) == 0) break;
- logf("SG: %s, EN: %s", longname_utf8segm, entry->name);
+ // logf("SG: %s, EN: %s", longname_utf8segm, entry->name);
longname_utf8len += strlen(longname_utf8segm);
if (longname_utf8len < FAT_FILENAME_BYTES)
strcat(entry->name, longname_utf8segm);
@@ -2321,7 +2321,7 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry)
if (fat_copy_long_name_segment(ptr + index + 28, 2,
longname_utf8segm) == 0) break;
- logf("SG: %s, EN: %s", longname_utf8segm, entry->name);
+ // logf("SG: %s, EN: %s", longname_utf8segm, entry->name);
longname_utf8len += strlen(longname_utf8segm);
if (longname_utf8len < FAT_FILENAME_BYTES)
strcat(entry->name, longname_utf8segm);
@@ -2342,8 +2342,8 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry)
*utf8 = 0;
logf("SN: %s", entry->name);
} else {
- logf("LN: %s", entry->name);
- logf("LNLen: %d (%c)", longname_utf8len, entry->name[0]);
+ // logf("LN: %s", entry->name);
+ // logf("LNLen: %d (%c)", longname_utf8len, entry->name[0]);
}
}
done = true;