aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console.c2
-rw-r--r--src/gdisp.c4
-rw-r--r--src/gdisp_fonts.c4
-rw-r--r--src/touchpad.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/src/console.c b/src/console.c
index d1ccdc17..064b6a05 100644
--- a/src/console.c
+++ b/src/console.c
@@ -22,7 +22,7 @@
#include "hal.h"
#include "console.h"
-#if GDISP_NEED_CONSOLE
+#if GFX_USE_CONSOLE
/*
* Interface implementation. The interface is write only
diff --git a/src/gdisp.c b/src/gdisp.c
index e8fb699e..364df1cd 100644
--- a/src/gdisp.c
+++ b/src/gdisp.c
@@ -33,7 +33,7 @@
#ifndef _GDISP_C
#define _GDISP_C
-#if HAL_USE_GDISP || defined(__DOXYGEN__)
+#if GFX_USE_GDISP || defined(__DOXYGEN__)
#ifdef GDISP_NEED_TEXT
#include "gdisp_fonts.h"
@@ -1118,7 +1118,7 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color) {
}
#endif
-#endif /* HAL_USE_GDISP */
+#endif /* GFX_USE_GDISP */
#endif /* _GDISP_C */
/** @} */
diff --git a/src/gdisp_fonts.c b/src/gdisp_fonts.c
index 394223fa..a58c538d 100644
--- a/src/gdisp_fonts.c
+++ b/src/gdisp_fonts.c
@@ -24,7 +24,7 @@
#include "hal.h"
#include "gdisp.h"
-#if HAL_USE_GDISP || defined(__DOXYGEN__)
+#if GFX_USE_GDISP || defined(__DOXYGEN__)
#if GDISP_NEED_TEXT
@@ -652,4 +652,4 @@
#endif /* GDISP_NEED_TEXT */
-#endif /* HAL_USE_GDISP */
+#endif /* GFX_USE_GDISP */
diff --git a/src/touchpad.c b/src/touchpad.c
index dc1aaf74..0718e484 100644
--- a/src/touchpad.c
+++ b/src/touchpad.c
@@ -30,7 +30,7 @@
#include "gdisp.h"
#include "touchpad.h"
-#if HAL_USE_TOUCHPAD || defined(__DOXYGEN__)
+#if GFX_USE_TOUCHPAD || defined(__DOXYGEN__)
#if TOUCHPAD_STORE_CALIBRATION
extern void lld_tpWriteCalibration(struct cal_t cal);
@@ -265,6 +265,6 @@ void tpCalibrate(void) {
}
#endif
-#endif /* HAL_USE_TOUCHPAD */
+#endif /* GFX_USE_TOUCHPAD */
/** @} */