mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
fix(bug): fix ft5x06_sample error
Signed-off-by: liujp <liujp@xiaomi.com>
This commit is contained in:
@@ -481,7 +481,7 @@ static ssize_t ft5x06_sample(FAR struct ft5x06_dev_s *priv, FAR char *buffer,
|
|||||||
deltay = -deltay;
|
deltay = -deltay;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (deltax < CONFIG_FT5X06_THRESHX)
|
if (deltay < CONFIG_FT5X06_THRESHY)
|
||||||
{
|
{
|
||||||
/* Ignore... no significant change in Y either */
|
/* Ignore... no significant change in Y either */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user