From 659901a90de45c9d489f5314149ea23bc041e6d6 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Wed, 4 Nov 2015 15:58:54 +0100 Subject: [PATCH] Adding missing default value for GFX_NO_INLINE --- gfx.h | 4 ---- src/gos/gos_options.h | 9 +++++++++ 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