fix(bug): fix ft5x06_sample error

Signed-off-by: liujp <liujp@xiaomi.com>
This commit is contained in:
liujp
2025-04-01 19:57:56 +08:00
committed by Xiang Xiao
parent c5afcd78f1
commit c9fd44a0ec
+1 -1
View File
@@ -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 */