aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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