From: batt Date: Tue, 9 Jun 2009 15:18:28 +0000 (+0000) Subject: Merged from external project: X-Git-Tag: 2.2.0~256 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1a2388ce06786b38b99f93bee26dd000a6818620;p=bertos.git Merged from external project: ********** 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 --- diff --git a/bertos/fs/fat.c b/bertos/fs/fat.c index aca2fa30..1cee1ae8 100644 --- a/bertos/fs/fat.c +++ b/bertos/fs/fat.c @@ -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;