From ad070b0fec69fe8d04dd2b06023a2ec74d283ed5 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 14 Oct 2012 02:26:51 +0200 Subject: [PATCH] cleanup --- include/gdisp.h | 8 ++++---- 1 file 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