diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-10-14 02:26:51 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-10-14 02:26:51 +0200 |
commit | ad070b0fec69fe8d04dd2b06023a2ec74d283ed5 (patch) | |
tree | a18144cf68b16e1a18cd101044530d14978382c0 /include | |
parent | 90d0700720eaa43047bf24c6df127911badc5150 (diff) | |
download | uGFX-ad070b0fec69fe8d04dd2b06023a2ec74d283ed5.tar.gz uGFX-ad070b0fec69fe8d04dd2b06023a2ec74d283ed5.tar.bz2 uGFX-ad070b0fec69fe8d04dd2b06023a2ec74d283ed5.zip |
cleanup
Diffstat (limited to 'include')
-rw-r--r-- | include/gdisp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/gdisp.h b/include/gdisp.h index b7092b9a..bb73677c 100644 --- a/include/gdisp.h +++ b/include/gdisp.h @@ -29,10 +29,6 @@ #if HAL_USE_GDISP || defined(__DOXYGEN__)
-#if !defined(GDISP_USE_GPIO) && !defined(GDISP_USE_FSMC) && !defined(GDISP_USE_SPI)
- #error "No known GDISP_USE_XXX has been defined"
-#endif
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
@@ -101,6 +97,10 @@ #error "GDISP: Only one of GDISP_NEED_MULTITHREAD and GDISP_NEED_ASYNC should be defined."
#endif
+#if !defined(GDISP_USE_GPIO) && !defined(GDISP_USE_FSMC) && !defined(GDISP_USE_SPI)
+ #error "No known GDISP_USE_XXX has been defined"
+#endif
+
#if GDISP_NEED_ASYNC
/* Messaging API is required for Async Multi-Thread */
#undef GDISP_NEED_MSGAPI
|