summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-03 00:02:10 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-03 00:02:10 +0000
commit337053d3d948beb9523352bc7fc682b201becab2 (patch)
tree71f96f677e8a2ee3fffcc2e29fb25efc3c644f79 /nuttx/include
parent7270511ae42b378850af972739b448de62085b5d (diff)
downloadpx4-nuttx-337053d3d948beb9523352bc7fc682b201becab2.tar.gz
px4-nuttx-337053d3d948beb9523352bc7fc682b201becab2.tar.bz2
px4-nuttx-337053d3d948beb9523352bc7fc682b201becab2.zip
Starting NXFFS packing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3553 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/nxffs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/nxffs.h b/nuttx/include/nuttx/nxffs.h
index bfe7460e8..90f1d76c6 100644
--- a/nuttx/include/nuttx/nxffs.h
+++ b/nuttx/include/nuttx/nxffs.h
@@ -59,6 +59,10 @@
# error "CONFIG_NXFFS_ERASEDSTATE must be either 0x00 or 0xff"
#endif
+#ifndef CONFIG_NXFFS_PACKTHRESHOLD
+# define CONFIG_NXFFS_PACKTHRESHOLD 32
+#endif
+
/* At present, only a single pre-allocated NXFFS volume is supported. This
* is because here can be only a single NXFFS volume mounted at any time.
* This has to do with the fact that we bind to an MTD driver (instead of a