diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-06-29 16:15:46 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-06-29 16:15:46 +0200 |
commit | 5c13e08e76ae1d75240e1e8e46d1e9c3a8ba50cd (patch) | |
tree | f5c30d5e5c9342d308ff1a20786ea6a86bb04c1f /src/gfile/sys_options.h | |
parent | e318ec02d6c3cb96a84679befd0ac447eb597158 (diff) | |
download | uGFX-5c13e08e76ae1d75240e1e8e46d1e9c3a8ba50cd.tar.gz uGFX-5c13e08e76ae1d75240e1e8e46d1e9c3a8ba50cd.tar.bz2 uGFX-5c13e08e76ae1d75240e1e8e46d1e9c3a8ba50cd.zip |
added gfileSync() and autosync feature
Diffstat (limited to 'src/gfile/sys_options.h')
-rw-r--r-- | src/gfile/sys_options.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gfile/sys_options.h b/src/gfile/sys_options.h index 41cf6a63..ee52298c 100644 --- a/src/gfile/sys_options.h +++ b/src/gfile/sys_options.h @@ -31,6 +31,19 @@ #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 */ |