This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 207249afdcd3ec283804490fbaa8b6fc4a985a15 Author: Xiang Xiao <[email protected]> AuthorDate: Sun Feb 27 03:11:22 2022 +0800 input/djoystck: Remove djoy_enable from djoy_sample since djoy_sample doesn't change the status Signed-off-by: Xiang Xiao <[email protected]> --- drivers/input/djoystick.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/input/djoystick.c b/drivers/input/djoystick.c index e7f9584..1ce8baf 100644 --- a/drivers/input/djoystick.c +++ b/drivers/input/djoystick.c @@ -331,10 +331,6 @@ static void djoy_sample(FAR struct djoy_upperhalf_s *priv) } } - /* Enable/disable interrupt handling */ - - djoy_enable(priv); - priv->du_sample = sample; leave_critical_section(flags); }
