diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-02 21:22:48 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-28 17:11:49 +0200 |
commit | 7e00be9a1e149e2ef2f64ff8acae9ebce8169526 (patch) | |
tree | dece2f50abceb35cebebcbcf2e5c0840e6adcc12 | |
parent | 9fe854e7825fd25a3cd5c6dd02c449b77d236d41 (diff) |
nwz-370/380: increase adc button error margin
For some reason those targets have quite imprecise button voltages and the
old margin was too small. This should fix the button-not-working issue,
especially when the player is very hot and cold.
Change-Id: I9fcddd7f079cd1c4ee121567fb21a4a0cbc0562b
-rw-r--r-- | firmware/target/arm/imx233/sony-nwz/button-target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/sony-nwz/button-target.h b/firmware/target/arm/imx233/sony-nwz/button-target.h index 41fe550935..cbe04a051b 100644 --- a/firmware/target/arm/imx233/sony-nwz/button-target.h +++ b/firmware/target/arm/imx233/sony-nwz/button-target.h @@ -32,6 +32,8 @@ bool button_debug_screen(void); #define HAS_BUTTON_HOLD #endif +#define IMX233_BUTTON_LRADC_MARGIN 100 + /* Main unit's buttons */ #define BUTTON_POWER 0x00000001 #define BUTTON_BACK 0x00000002 |