From 830fa4b755aac0eb2086eb3b5dbdd59dcd58b230 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 13 Oct 2012 19:11:37 +0200 Subject: #error optimization --- include/gdisp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/gdisp.h b/include/gdisp.h index 8d79a5d3..b752e8bc 100644 --- a/include/gdisp.h +++ b/include/gdisp.h @@ -29,6 +29,10 @@ #if HAL_USE_GDISP || defined(__DOXYGEN__) +#ifndef GDISP_USE_GPIO || GDISP_USE_FSCM || GDISP_USE_SPI + #error "No known GDISP_USE_XXX has been defined" +#endif + /*===========================================================================*/ /* Driver constants. */ /*===========================================================================*/ -- cgit v1.2.3