diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-11-10 16:46:02 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-11-10 16:46:02 +0100 |
commit | 5a5db64288414162a31a7e755757c32ddf55bf6c (patch) | |
tree | 3a86993c6bd65f894642e9484a005fc340cec66f /drivers/touchscreen/ADS7843/touchscreen_lld.c | |
parent | cc5ae04b7bba81739bf9b8f5c9a79ea98e6e9319 (diff) | |
download | uGFX-5a5db64288414162a31a7e755757c32ddf55bf6c.tar.gz uGFX-5a5db64288414162a31a7e755757c32ddf55bf6c.tar.bz2 uGFX-5a5db64288414162a31a7e755757c32ddf55bf6c.zip |
renamed tsIRQ() into tsPressed()
Diffstat (limited to 'drivers/touchscreen/ADS7843/touchscreen_lld.c')
-rw-r--r-- | drivers/touchscreen/ADS7843/touchscreen_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/touchscreen/ADS7843/touchscreen_lld.c b/drivers/touchscreen/ADS7843/touchscreen_lld.c index 98e25383..15b1d907 100644 --- a/drivers/touchscreen/ADS7843/touchscreen_lld.c +++ b/drivers/touchscreen/ADS7843/touchscreen_lld.c @@ -213,13 +213,13 @@ uint16_t ts_lld_read_y(void) { /* ---- Optional Routines ---- */
#if TOUCHSCREEN_HAS_IRQ || defined(__DOXYGEN__)
/*
- * @brief for checking if touchpad is pressed or not.
+ * @brief for checking if touchscreen is pressed or not.
*
* @return 1 if pressed / 0 if not pressed
*
* @notapi
*/
- uint8_t ts_lld_irq(void) {
+ uint8_t ts_lld_pressed(void) {
return (!palReadPad(tsDriver->tsIRQPort, tsDriver->tsIRQPin));
}
#endif
|