diff options
-rw-r--r-- | include/gdisp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gdisp.h b/include/gdisp.h index 607216b5..b7092b9a 100644 --- a/include/gdisp.h +++ b/include/gdisp.h @@ -29,7 +29,7 @@ #if HAL_USE_GDISP || defined(__DOXYGEN__)
-#ifndef GDISP_USE_GPIO || GDISP_USE_FSMC || GDISP_USE_SPI
+#if !defined(GDISP_USE_GPIO) && !defined(GDISP_USE_FSMC) && !defined(GDISP_USE_SPI)
#error "No known GDISP_USE_XXX has been defined"
#endif
|