aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/touchscreen/ADS7843/touchscreen_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/touchscreen/ADS7843/touchscreen_lld.c')
-rw-r--r--drivers/touchscreen/ADS7843/touchscreen_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/touchscreen/ADS7843/touchscreen_lld.c b/drivers/touchscreen/ADS7843/touchscreen_lld.c
index 15b1d907..9b5d4aa0 100644
--- a/drivers/touchscreen/ADS7843/touchscreen_lld.c
+++ b/drivers/touchscreen/ADS7843/touchscreen_lld.c
@@ -211,7 +211,7 @@ uint16_t ts_lld_read_y(void) {
}
/* ---- Optional Routines ---- */
-#if TOUCHSCREEN_HAS_IRQ || defined(__DOXYGEN__)
+#if TOUCHSCREEN_HAS_PRESSED || defined(__DOXYGEN__)
/*
* @brief for checking if touchscreen is pressed or not.
*