summaryrefslogtreecommitdiff
path: root/firmware/export/adc.h
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-09-11 09:06:58 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-09-11 09:06:58 +0000
commit00be7469d6bd0810cfa65f4b935da5db6fac09d4 (patch)
treebf7b43a7c188906eec01d499a9f597dc6001e854 /firmware/export/adc.h
parent57ea92cae1f4d0f28b453e0caf68977c599cc096 (diff)
downloadrockbox-00be7469d6bd0810cfa65f4b935da5db6fac09d4.tar.gz
rockbox-00be7469d6bd0810cfa65f4b935da5db6fac09d4.zip
prepared Ondio USB passthrough (but doesn't work yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5066 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/adc.h')
-rw-r--r--firmware/export/adc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/export/adc.h b/firmware/export/adc.h
index cbc40e2662..966714cbbd 100644
--- a/firmware/export/adc.h
+++ b/firmware/export/adc.h
@@ -23,8 +23,7 @@
23 23
24#ifdef HAVE_ONDIO_ADC 24#ifdef HAVE_ONDIO_ADC
25 25
26#define ADC_MMC_SWITCH 0 /* Battery voltage always reads 0x3FF due to 26#define ADC_MMC_SWITCH 0 /* low values if MMC inserted */
27 silly scaling */
28#define ADC_USB_POWER 1 /* USB, reads 0x000 when USB is inserted */ 27#define ADC_USB_POWER 1 /* USB, reads 0x000 when USB is inserted */
29#define ADC_BUTTON_OPTION 2 /* the option button, low value if pressed */ 28#define ADC_BUTTON_OPTION 2 /* the option button, low value if pressed */
30#define ADC_BUTTON_ONOFF 3 /* the on/off button, high value if pressed */ 29#define ADC_BUTTON_ONOFF 3 /* the on/off button, high value if pressed */