aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-11-04 15:58:54 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-11-04 15:58:54 +0100
commit659901a90de45c9d489f5314149ea23bc041e6d6 (patch)
tree9dfb9c19ebe5d416e9179e74674009bd2ca622f8
parentdf76759cd43e4d6edcf089c05420ab2180ff4491 (diff)
downloaduGFX-659901a90de45c9d489f5314149ea23bc041e6d6.tar.gz
uGFX-659901a90de45c9d489f5314149ea23bc041e6d6.tar.bz2
uGFX-659901a90de45c9d489f5314149ea23bc041e6d6.zip
Adding missing default value for GFX_NO_INLINE
-rw-r--r--gfx.h4
-rw-r--r--src/gos/gos_options.h9
2 files changed, 9 insertions, 4 deletions
diff --git a/gfx.h b/gfx.h
index 74b18ac2..48a92770 100644
--- a/gfx.h
+++ b/gfx.h
@@ -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