mirror of
https://github.com/apache/nuttx.git
synced 2026-08-15 01:13:29 +00:00
fix(bug): fix ft5x06_sample error
Signed-off-by: liujp <liujp@xiaomi.com>
This commit is contained in:
parent
46c72c6738
commit
989413efcb
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ static ssize_t ft5x06_sample(FAR struct ft5x06_dev_s *priv, FAR char *buffer,
|
|||
deltay = -deltay;
|
||||
}
|
||||
|
||||
if (deltax < CONFIG_FT5X06_THRESHX)
|
||||
if (deltay < CONFIG_FT5X06_THRESHY)
|
||||
{
|
||||
/* Ignore... no significant change in Y either */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue