FIX: block bitmap is not correctly initialized.
[lwext4.git] / lwext4 / ext4_config.h
index b68785fd8f7d3a7d9421a68de09d3f36522f3c33..5b0af0c2c62bb228c6d475027f088d277a8d4b84 100644 (file)
@@ -61,7 +61,7 @@
 #define CONFIG_FEATURE_COMPAT_SUPP EXT2_FEATURE_COMPAT_SUPP
 
 #define CONFIG_FEATURE_INCOMPAT_SUPP                                           \
-    (EXT2_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED)
+       (EXT2_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED)
 
 #define CONFIG_FEATURE_RO_COMPAT_SUPP EXT2_FEATURE_RO_COMPAT_SUPP
 #elif CONFIG_EXT_FEATURE_SET_LVL == F_SET_EXT3
@@ -72,7 +72,7 @@
 #define CONFIG_FEATURE_COMPAT_SUPP EXT3_FEATURE_COMPAT_SUPP
 
 #define CONFIG_FEATURE_INCOMPAT_SUPP                                           \
-    (EXT3_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED)
+       (EXT3_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED)
 
 #define CONFIG_FEATURE_RO_COMPAT_SUPP EXT3_FEATURE_RO_COMPAT_SUPP
 #elif CONFIG_EXT_FEATURE_SET_LVL == F_SET_EXT4
@@ -83,7 +83,7 @@
 #define CONFIG_FEATURE_COMPAT_SUPP EXT4_FEATURE_COMPAT_SUPP
 
 #define CONFIG_FEATURE_INCOMPAT_SUPP                                           \
-    (EXT4_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED)
+       (EXT4_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED)
 
 #define CONFIG_FEATURE_RO_COMPAT_SUPP EXT4_FEATURE_RO_COMPAT_SUPP
 #else
 #define CONFIG_DEBUG_ASSERT 1
 #endif
 
+/**@brief   Include assert codes from ext4_debug or standard library.*/
+#ifndef CONFIG_HAVE_OWN_ASSERT
+#define CONFIG_HAVE_OWN_ASSERT 0
+#endif
+
 /**@brief   Statistics of block device*/
 #ifndef CONFIG_BLOCK_DEV_ENABLE_STATS
 #define CONFIG_BLOCK_DEV_ENABLE_STATS 1
 #define CONFIG_EXT4_MOUNTPOINTS_COUNT 2
 #endif
 
+/**@brief   Include open flags from ext4_errno or standard library.*/
+#ifndef CONFIG_HAVE_OWN_OFLAGS
+#define CONFIG_HAVE_OWN_OFLAGS 0
+#endif
+
 #endif /* EXT4_CONFIG_H_ */
 
 /**