aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/sys_options.h
diff options
context:
space:
mode:
authorpashamray <pashamray@gmail.com>2014-07-02 13:03:18 +0300
committerpashamray <pashamray@gmail.com>2014-07-02 13:03:18 +0300
commita3993c80e0f2cbb11813ce29613af5f3bc0070fa (patch)
tree9fabe62195ec5068f8aea3e9d4f961847ca67c13 /src/gfile/sys_options.h
parent8e13c10f392396022a4b2ae04b5ccd8cb795f17e (diff)
parente67fbb3e6b82742eae4096faff2a1e47e25804e3 (diff)
downloaduGFX-a3993c80e0f2cbb11813ce29613af5f3bc0070fa.tar.gz
uGFX-a3993c80e0f2cbb11813ce29613af5f3bc0070fa.tar.bz2
uGFX-a3993c80e0f2cbb11813ce29613af5f3bc0070fa.zip
master слито с pcf8812
Diffstat (limited to 'src/gfile/sys_options.h')
-rw-r--r--src/gfile/sys_options.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gfile/sys_options.h b/src/gfile/sys_options.h
index 564cc2d7..ee52298c 100644
--- a/src/gfile/sys_options.h
+++ b/src/gfile/sys_options.h
@@ -21,6 +21,29 @@
* @{
*/
/**
+ * @brief Should the filesystem not be mounted automatically
+ * @details The filesystem is normally mounted automatically if the
+ * user does not do it manually. This option turns that off
+ * so the user must manually mount the file-system first.
+ * @details Defaults to FALSE
+ */
+ #ifndef GFILE_NEED_NOAUTOMOUNT
+ #define GFILE_NEED_NOAUTOMOUNT FALSE
+ #endif
+ /**
+ * @brief Should the filesystem be synced automatically
+ * @details The filesystem will automatically be synced after an open() or
+ * write() call unless this feature is disabled.
+ * @details If this feature is disabled, the user should sync the filesystem
+ * himself using @p gfileSync()
+ * @details Not all filesystems implement the syncing feature. This feature will
+ * have no effect in such a case.
+ * @details Defaults to FALSE
+ */
+ #ifndef GFILE_NEED_NOAUTOSYNC
+ #define GFILE_NEED_NOAUTOSYNC FALSE
+ #endif
+ /**
* @brief Include printg, fprintg etc functions
* @details Defaults to FALSE
*/