mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
input/djoystck: Remove djoy_enable from djoy_sample
since djoy_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 djoy_sample(FAR struct djoy_upperhalf_s *priv)
|
||||
}
|
||||
}
|
||||
|
||||
/* Enable/disable interrupt handling */
|
||||
|
||||
djoy_enable(priv);
|
||||
|
||||
priv->du_sample = sample;
|
||||
leave_critical_section(flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user