mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
input/buttons: Remove btn_enable from btn_sample
since btn_sample doesn't change the status Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -317,10 +317,6 @@ static void btn_sample(FAR struct btn_upperhalf_s *priv)
|
||||
}
|
||||
}
|
||||
|
||||
/* Enable/disable interrupt handling */
|
||||
|
||||
btn_enable(priv);
|
||||
|
||||
priv->bu_sample = sample;
|
||||
leave_critical_section(flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user