diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-02 21:21:44 +0100 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-28 17:09:19 +0200 |
| commit | 9fe854e7825fd25a3cd5c6dd02c449b77d236d41 (patch) | |
| tree | 1ddf6711c2083af4ecda8e0b7355df9b4bf5e8ef /apps/plugins/lua/lstring.h | |
| parent | 030a9da0d7963200d3e9c687f5ac72e802a48da4 (diff) | |
| download | rockbox-9fe854e7825fd25a3cd5c6dd02c449b77d236d41.zip rockbox-9fe854e7825fd25a3cd5c6dd02c449b77d236d41.tar.gz rockbox-9fe854e7825fd25a3cd5c6dd02c449b77d236d41.tar.bz2 rockbox-9fe854e7825fd25a3cd5c6dd02c449b77d236d41.tar.xz | |
imx233: enhance button driver adc handling
The current driver is limited to checking if the adc value equals another
one with a hardcoded margin. This commit changes two aspects of that:
- the margin can be changed globally using IMX233_BUTTON_LRADC_MARGIN
and can also be overriden per button using the new LRADC_EX macro
- the lradc logic gained two comparison modes to check if the source
value is greater (or lower) than a threshold.
Change-Id: If1614451dafeae818a96e6f23a84e6731331ba03
Diffstat (limited to 'apps/plugins/lua/lstring.h')
0 files changed, 0 insertions, 0 deletions