diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-04 15:58:54 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-04 15:58:54 +0100 |
commit | 659901a90de45c9d489f5314149ea23bc041e6d6 (patch) | |
tree | 9dfb9c19ebe5d416e9179e74674009bd2ca622f8 | |
parent | df76759cd43e4d6edcf089c05420ab2180ff4491 (diff) | |
download | uGFX-659901a90de45c9d489f5314149ea23bc041e6d6.tar.gz uGFX-659901a90de45c9d489f5314149ea23bc041e6d6.tar.bz2 uGFX-659901a90de45c9d489f5314149ea23bc041e6d6.zip |
Adding missing default value for GFX_NO_INLINE
-rw-r--r-- | gfx.h | 4 | ||||
-rw-r--r-- | src/gos/gos_options.h | 9 |
2 files changed, 9 insertions, 4 deletions
@@ -54,10 +54,6 @@ /* gfxconf.h is the user's project configuration for the GFX system. */ #include "gfxconf.h" -/** - * @brief Should various inline ugfx functions be non-inline. - * @details Defaults to FALSE - */ #if GFX_NO_INLINE #define GFXINLINE #else diff --git a/src/gos/gos_options.h b/src/gos/gos_options.h index d603c318..c9f005ad 100644 --- a/src/gos/gos_options.h +++ b/src/gos/gos_options.h @@ -103,6 +103,15 @@ * @name GOS Optional Parameters * @{ */ + /** + * @brief Should various inline ugfx functions be non-inline. + * @details Defaults to FALSE + * @note Generally there is no need to set this to TRUE as it will have huge performance impacts + * in the driver level. + */ + #ifndef GFX_NO_INLINE + #define GFX_NO_INLINE FALSE + #endif /** * @brief Enable compiler specific code * @details Defaults to GFX_COMPILER_UNKNOWN |