summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-06-30 20:45:46 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-06-30 20:45:46 +0000
commit756e74538f19e541a403b711085629080e0c67a8 (patch)
tree8905a7186ba05f13d5a1d835df447b56f0598644 /firmware/drivers/button.c
parentc384668c250d8c55ac5625b9e29416e27734ec79 (diff)
downloadrockbox-756e74538f19e541a403b711085629080e0c67a8.tar.gz
rockbox-756e74538f19e541a403b711085629080e0c67a8.zip
New voltage levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1279 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r--firmware/drivers/button.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 9805c1858a..178c8c4e99 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -120,10 +120,10 @@ int button_get(bool block)
120 * DOWN, PLAY, LEFT, and RIGHT are likewise connected to AN5. */ 120 * DOWN, PLAY, LEFT, and RIGHT are likewise connected to AN5. */
121 121
122/* Button analog voltage levels */ 122/* Button analog voltage levels */
123#define LEVEL1 50 123#define LEVEL1 300
124#define LEVEL2 125 124#define LEVEL2 500
125#define LEVEL3 175 125#define LEVEL3 700
126#define LEVEL4 225 126#define LEVEL4 900
127 127
128/* 128/*
129 *Initialize buttons 129 *Initialize buttons