aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-11-14 21:11:41 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-11-14 21:11:41 +0100
commit10c047d0c0afd82f49695c598732df5ad12c0d08 (patch)
tree0cee394a7f3965242a5ae1b8592681af0101cf1b
parent14b5184d60681ed92a07606185f7b4b26edbbcd1 (diff)
downloaduGFX-10c047d0c0afd82f49695c598732df5ad12c0d08.tar.gz
uGFX-10c047d0c0afd82f49695c598732df5ad12c0d08.tar.bz2
uGFX-10c047d0c0afd82f49695c598732df5ad12c0d08.zip
Fixing typo in macros
-rw-r--r--gfx.h2
-rw-r--r--src/gos/gos_x_threads.c4
-rw-r--r--src/gwin/gwin_class.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/gfx.h b/gfx.h
index 53c9b94f..0727bf99 100644
--- a/gfx.h
+++ b/gfx.h
@@ -392,7 +392,7 @@
#if GFX_NO_INLINE
#define GFXINLINE
#else
- #if GFX_COMPILER == GFX_COMILER_KEIL
+ #if GFX_COMPILER == GFX_COMPILER_KEIL
#define GFXINLINE __inline
#else
#define GFXINLINE inline
diff --git a/src/gos/gos_x_threads.c b/src/gos/gos_x_threads.c
index bdb61ab9..76637322 100644
--- a/src/gos/gos_x_threads.c
+++ b/src/gos/gos_x_threads.c
@@ -203,12 +203,12 @@ static thread mainthread; // The main thread context
* If they don't exist compile them to be the standard setjmp() function.
* Similarly for longjmp().
*/
- #if (!defined(setjmp) && !defined(_setjmp)) || GFX_COMPILER == GFX_COMILER_KEIL
+ #if (!defined(setjmp) && !defined(_setjmp)) || GFX_COMPILER == GFX_COMPILER_KEIL
#define CXT_SAVE setjmp
#else
#define CXT_SAVE _setjmp
#endif
- #if (!defined(longjmp) && !defined(_longjmp)) || GFX_COMPILER == GFX_COMILER_KEIL
+ #if (!defined(longjmp) && !defined(_longjmp)) || GFX_COMPILER == GFX_COMPILER_KEIL
#define CXT_RESTORE longjmp
#else
#define CXT_RESTORE _longjmp
diff --git a/src/gwin/gwin_class.h b/src/gwin/gwin_class.h
index ac89f672..d9e6d97e 100644
--- a/src/gwin/gwin_class.h
+++ b/src/gwin/gwin_class.h
@@ -23,7 +23,7 @@
#if GFX_USE_GWIN || defined(__DOXYGEN__)
-#if GFX_COMPILER == GFX_COMILER_KEIL
+#if GFX_COMPILER == GFX_COMPILER_KEIL
#pragma anon_unions
#endif