forked from len0rd/rockbox
prepared Ondio USB passthrough (but doesn't work yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5066 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
57ea92cae1
commit
00be7469d6
4 changed files with 21 additions and 7 deletions
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
#ifdef HAVE_ONDIO_ADC
|
||||
|
||||
#define ADC_MMC_SWITCH 0 /* Battery voltage always reads 0x3FF due to
|
||||
silly scaling */
|
||||
#define ADC_MMC_SWITCH 0 /* low values if MMC inserted */
|
||||
#define ADC_USB_POWER 1 /* USB, reads 0x000 when USB is inserted */
|
||||
#define ADC_BUTTON_OPTION 2 /* the option button, low value if pressed */
|
||||
#define ADC_BUTTON_ONOFF 3 /* the on/off button, high value if pressed */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue