diff options
author | Joel Bodenmann <joel.bodenmann@hevs.ch> | 2012-10-13 19:11:37 +0200 |
---|---|---|
committer | Joel Bodenmann <joel.bodenmann@hevs.ch> | 2012-10-13 19:11:37 +0200 |
commit | 830fa4b755aac0eb2086eb3b5dbdd59dcd58b230 (patch) | |
tree | d78014c7b335f4c3775fbdf251c0b74880a84c8c /include/gdisp.h | |
parent | 9c3b5a0145c73469b65065b414de18a9f32ab616 (diff) | |
download | uGFX-830fa4b755aac0eb2086eb3b5dbdd59dcd58b230.tar.gz uGFX-830fa4b755aac0eb2086eb3b5dbdd59dcd58b230.tar.bz2 uGFX-830fa4b755aac0eb2086eb3b5dbdd59dcd58b230.zip |
#error optimization
Diffstat (limited to 'include/gdisp.h')
-rw-r--r-- | include/gdisp.h | 4 |
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. */
/*===========================================================================*/
|