cleanup
This commit is contained in:
parent
90d0700720
commit
ad070b0fec
1 changed files with 4 additions and 4 deletions
|
@ -29,10 +29,6 @@
|
||||||
|
|
||||||
#if HAL_USE_GDISP || defined(__DOXYGEN__)
|
#if HAL_USE_GDISP || defined(__DOXYGEN__)
|
||||||
|
|
||||||
#if !defined(GDISP_USE_GPIO) && !defined(GDISP_USE_FSMC) && !defined(GDISP_USE_SPI)
|
|
||||||
#error "No known GDISP_USE_XXX has been defined"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver constants. */
|
/* Driver constants. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -101,6 +97,10 @@
|
||||||
#error "GDISP: Only one of GDISP_NEED_MULTITHREAD and GDISP_NEED_ASYNC should be defined."
|
#error "GDISP: Only one of GDISP_NEED_MULTITHREAD and GDISP_NEED_ASYNC should be defined."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(GDISP_USE_GPIO) && !defined(GDISP_USE_FSMC) && !defined(GDISP_USE_SPI)
|
||||||
|
#error "No known GDISP_USE_XXX has been defined"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if GDISP_NEED_ASYNC
|
#if GDISP_NEED_ASYNC
|
||||||
/* Messaging API is required for Async Multi-Thread */
|
/* Messaging API is required for Async Multi-Thread */
|
||||||
#undef GDISP_NEED_MSGAPI
|
#undef GDISP_NEED_MSGAPI
|
||||||
|
|
Loading…
Add table
Reference in a new issue