forked from len0rd/rockbox
ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTAT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30204 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
10a1e8a609
commit
0157c62418
4 changed files with 4 additions and 4 deletions
|
|
@ -87,7 +87,7 @@ void adc_init(void)
|
|||
adc_battery->timeout = 0;
|
||||
adcdata[ADC_ACCESSORY].channelnum = 4;
|
||||
adcdata[ADC_ACCESSORY].timeout = 0;
|
||||
#ifdef IPOD_VIDEO
|
||||
#if defined(IPOD_VIDEO) || defined(IPOD_NANO)
|
||||
adcdata[ADC_4066_ISTAT].channelnum = 7;
|
||||
adcdata[ADC_4066_ISTAT].timeout = 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue