Merged from external project:
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 9 Jun 2009 15:18:28 +0000 (15:18 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 9 Jun 2009 15:18:28 +0000 (15:18 +0000)
**********
r25865 | batt | 2009-06-09 17:06:18 +0200 (mar, 09 giu 2009) | 1 line

Enclose type in DB macro.
**********

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2712 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/fs/fat.c

index aca2fa30d4a9078e504a4cb2a724b0d382fe10fc..1cee1ae8a8ddc6dc061a6ffbc3e19f1df02339ab 100644 (file)
@@ -136,7 +136,7 @@ static void fatfile_clearerr(struct KFile *_fd)
 
 FRESULT fatfile_open(FatFile *file, const char *file_path, BYTE mode)
 {
-       file->fd._type = KFT_FATFILE;
+       DB(file->fd._type = KFT_FATFILE);
        file->fd.read = fatfile_read;
        file->fd.write = fatfile_write;
        file->fd.reopen = 0;