mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
input/ajoystck: Remove ajoy_enable from ajoy_sample
since ajoy_sample doesn't change the status Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -331,10 +331,6 @@ static void ajoy_sample(FAR struct ajoy_upperhalf_s *priv)
|
||||
}
|
||||
}
|
||||
|
||||
/* Enable/disable interrupt handling */
|
||||
|
||||
ajoy_enable(priv);
|
||||
|
||||
priv->au_sample = sample;
|
||||
leave_critical_section(flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user