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:
parent
207249afdc
commit
478b292a87
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue