diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gdisp/Win32/gdisp_lld.c | 2 | ||||
-rw-r--r-- | drivers/touchscreen/ADS7843/touchscreen_lld.c | 4 | ||||
-rw-r--r-- | drivers/touchscreen/XPT2046/touchscreen_lld.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gdisp/Win32/gdisp_lld.c b/drivers/gdisp/Win32/gdisp_lld.c index 4cf69b0e..69e90e89 100644 --- a/drivers/gdisp/Win32/gdisp_lld.c +++ b/drivers/gdisp/Win32/gdisp_lld.c @@ -546,7 +546,7 @@ uint16_t ts_lld_read_z(void) { *
* @notapi
*/
-uint8_t ts_lld_irq(void) {
+uint8_t ts_lld_pressed(void) {
return (uint8_t)mousedn;
}
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
diff --git a/drivers/touchscreen/XPT2046/touchscreen_lld.c b/drivers/touchscreen/XPT2046/touchscreen_lld.c index 90bf0032..ef410b0d 100644 --- a/drivers/touchscreen/XPT2046/touchscreen_lld.c +++ b/drivers/touchscreen/XPT2046/touchscreen_lld.c @@ -219,7 +219,7 @@ uint16_t ts_lld_read_y(void) { *
* @notapi
*/
- uint8_t ts_lld_irq(void) {
+ uint8_t ts_lld_pressed(void) {
return (!palReadPad(tsDriver->tsIRQPort, tsDriver->tsIRQPin));
}
#endif
|