Move headers inside header guard; fix pasto.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 21 May 2009 13:11:33 +0000 (13:11 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 21 May 2009 13:11:33 +0000 (13:11 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2695 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/fs/fatfs/src/ff.h

index 10ae4c5b28378f9d6c3a92a5f276fb1d65016687..5461efe9277fe06ff478894ca48f70550511752f 100644 (file)
@@ -13,9 +13,6 @@
 / * Redistributions of source code must retain the above copyright notice.
 /----------------------------------------------------------------------------*/
 
 / * Redistributions of source code must retain the above copyright notice.
 /----------------------------------------------------------------------------*/
 
-#include "integer.h"
-#include "cfg/cfg_fat.h"
-
 /*---------------------------------------------------------------------------/
 / FatFs Configuration Options
 /
 /*---------------------------------------------------------------------------/
 / FatFs Configuration Options
 /
@@ -26,6 +23,9 @@
 #ifndef _FATFS
 #define _FATFS
 
 #ifndef _FATFS
 #define _FATFS
 
+#include "integer.h"
+#include "cfg/cfg_fat.h"
+
 #ifndef _WORD_ACCESS
 #define _WORD_ACCESS   0
 #endif
 #ifndef _WORD_ACCESS
 #define _WORD_ACCESS   0
 #endif
@@ -72,7 +72,7 @@
 
 #ifndef _USE_MKFS
 #define        _USE_MKFS       0
 
 #ifndef _USE_MKFS
 #define        _USE_MKFS       0
-#define
+#endif
 /* To enable f_mkfs function, set _USE_MKFS to 1 and set _FS_READONLY to 0 */
 
 
 /* To enable f_mkfs function, set _USE_MKFS to 1 and set _FS_READONLY to 0 */