#error optimization

This commit is contained in:
Joel Bodenmann 2012-10-13 19:11:37 +02:00
parent 9c3b5a0145
commit 830fa4b755
3 changed files with 4 additions and 6 deletions

View File

@ -172,9 +172,6 @@
#elif defined(GDISP_USE_SPI) #elif defined(GDISP_USE_SPI)
#error "gdispS6d1121: GDISP_USE_SPI not implemented yet" #error "gdispS6d1121: GDISP_USE_SPI not implemented yet"
#else
#error "gdispS6d1121: No known GDISP_USE_XXX has been defined"
#endif #endif
static void lld_lcdSetCursor(coord_t x, coord_t y) { static void lld_lcdSetCursor(coord_t x, coord_t y) {

View File

@ -250,9 +250,6 @@
#elif defined(GDISP_USE_SPI) #elif defined(GDISP_USE_SPI)
#error "gdispSsd1289: GDISP_USE_SPI not implemented yet" #error "gdispSsd1289: GDISP_USE_SPI not implemented yet"
#else
#error "gdispSsd1289: No known GDISP_USE_XXX has been defined"
#endif #endif
static __inline void lld_lcdDelay(uint16_t us) { static __inline void lld_lcdDelay(uint16_t us) {

View File

@ -29,6 +29,10 @@
#if HAL_USE_GDISP || defined(__DOXYGEN__) #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. */ /* Driver constants. */
/*===========================================================================*/ /*===========================================================================*/