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:
parent
b0e6a6e081
commit
aac9c4b78a
@ -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;
|
priv->au_sample = sample;
|
||||||
leave_critical_section(flags);
|
leave_critical_section(flags);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user