aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel.bodenmann@hevs.ch>2012-10-13 19:11:37 +0200
committerJoel Bodenmann <joel.bodenmann@hevs.ch>2012-10-13 19:11:37 +0200
commit830fa4b755aac0eb2086eb3b5dbdd59dcd58b230 (patch)
treed78014c7b335f4c3775fbdf251c0b74880a84c8c /include
parent9c3b5a0145c73469b65065b414de18a9f32ab616 (diff)
downloaduGFX-830fa4b755aac0eb2086eb3b5dbdd59dcd58b230.tar.gz
uGFX-830fa4b755aac0eb2086eb3b5dbdd59dcd58b230.tar.bz2
uGFX-830fa4b755aac0eb2086eb3b5dbdd59dcd58b230.zip
#error optimization
Diffstat (limited to 'include')
-rw-r--r--include/gdisp.h4
1 files changed, 4 insertions, 0 deletions
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. */
/*===========================================================================*/