#error optimization
This commit is contained in:
parent
9c3b5a0145
commit
830fa4b755
@ -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) {
|
||||||
|
@ -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) {
|
||||||
|
@ -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. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
Loading…
Reference in New Issue
Block a user