aboutsummaryrefslogtreecommitdiffstats
path: root/halext/drivers
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-08-09 03:21:52 +0200
committerTectu <joel@unormal.org>2012-08-09 03:21:52 +0200
commit956f6125446cd73fc839a58a999dbe57e5a35e97 (patch)
treee17a01316acbbc2bd249293e672d77fc08b14483 /halext/drivers
parent69bcdbba84f936e5da1dd430c75ebd2a9ded41c8 (diff)
downloaduGFX-956f6125446cd73fc839a58a999dbe57e5a35e97.tar.gz
uGFX-956f6125446cd73fc839a58a999dbe57e5a35e97.tar.bz2
uGFX-956f6125446cd73fc839a58a999dbe57e5a35e97.zip
TOUCHPAD_PRESSURE -> TOUCHPAD_HAS_PRESSURE
Diffstat (limited to 'halext/drivers')
-rw-r--r--halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c2
-rw-r--r--halext/drivers/touchpad/touchpadXPT2046/touchpad_lld_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c b/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c
index 4d02be69..f85a68d9 100644
--- a/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c
+++ b/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c
@@ -134,7 +134,7 @@ uint16_t tp_lld_read_y(void) {
}
/* ---- Optional Routines ---- */
-#if TOUCHPAD_PRESSURE || defined(__DOXYGEN__)
+#if TOUCHPAD_HAS_PRESSURE || defined(__DOXYGEN__)
/*
* @brief Reads out the Z direction / pressure.
*
diff --git a/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld_config.h b/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld_config.h
index 52493836..17f33dd4 100644
--- a/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld_config.h
+++ b/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld_config.h
@@ -35,7 +35,7 @@
/* Driver hardware support. */
/*===========================================================================*/
-#define TOUCHPAD_PRESSURE TRUE
+#define TOUCHPAD_HAS_PRESSURE TRUE
#endif /* HAL_USE_TOUCHPAD */