mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-07 14:44:43 +02:00
Fix bug
If touch not used dummy getTouch missing the new threshold parameter.
This commit is contained in:
@@ -4305,7 +4305,7 @@ uint8_t TFT_eSPI::validTouch(uint16_t *x, uint16_t *y, uint16_t threshold){
|
|||||||
** Function name: getTouch
|
** Function name: getTouch
|
||||||
** Description: read callibrated position. Return false if not pressed.
|
** Description: read callibrated position. Return false if not pressed.
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
uint8_t TFT_eSPI::getTouch(uint16_t *x, uint16_t *y){
|
uint8_t TFT_eSPI::getTouch(uint16_t *x, uint16_t *y, uint16_t threshold){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user