driver: input: gt911: Fix to properly handle touch events on esp32
This fix properly ignores a multitouch event on esp32 board Signed-off-by: Mario Paja <mariopaja@hotmail.com>
This commit is contained in:
parent
ceb59951c5
commit
d72b79256c
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ static int gt911_process(const struct device *dev)
|
|||
|
||||
points = status & TOUCH_POINTS_MSK;
|
||||
if (points != 0U && points != 1U && (0 != (status & TOUCH_STATUS_MSK))) {
|
||||
return 0;
|
||||
points = 1;
|
||||
}
|
||||
|
||||
if (!(status & TOUCH_STATUS_MSK)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue