summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/ltable.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-05-02 21:21:44 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-05-28 17:09:19 +0200
commit9fe854e7825fd25a3cd5c6dd02c449b77d236d41 (patch)
tree1ddf6711c2083af4ecda8e0b7355df9b4bf5e8ef /apps/plugins/lua/ltable.c
parent030a9da0d7963200d3e9c687f5ac72e802a48da4 (diff)
downloadrockbox-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/ltable.c')
0 files changed, 0 insertions, 0 deletions