Adding missing default value for GFX_NO_INLINE

ugfx_release_2.6
Joel Bodenmann 2015-11-04 15:58:54 +01:00
parent df76759cd4
commit 659901a90d
2 changed files with 9 additions and 4 deletions

4
gfx.h
View File

@ -54,10 +54,6 @@
/* gfxconf.h is the user's project configuration for the GFX system. */ /* gfxconf.h is the user's project configuration for the GFX system. */
#include "gfxconf.h" #include "gfxconf.h"
/**
* @brief Should various inline ugfx functions be non-inline.
* @details Defaults to FALSE
*/
#if GFX_NO_INLINE #if GFX_NO_INLINE
#define GFXINLINE #define GFXINLINE
#else #else

View File

@ -103,6 +103,15 @@
* @name GOS Optional Parameters * @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 * @brief Enable compiler specific code
* @details Defaults to GFX_COMPILER_UNKNOWN * @details Defaults to GFX_COMPILER_UNKNOWN