forked from len0rd/rockbox
Samsung YH-920: Proper values for battery monitoring, based on the OF formula.
Change-Id: I894eb6bad600bd059fe9a5ea1103737a736d4005
This commit is contained in:
parent
eaaff2680b
commit
f74edac8c7
2 changed files with 7 additions and 8 deletions
|
@ -63,7 +63,8 @@ unsigned short adc_scan(int channel)
|
|||
|
||||
adcdata[channel] = (adc_data_1<<2 | adc_data_2);
|
||||
|
||||
#if !(defined(PHILIPS_HDD1630) || defined(PHILIPS_HDD6330) || defined(SAMSUNG_YH820))
|
||||
#if !(defined(PHILIPS_HDD1630) || defined(PHILIPS_HDD6330) ||\
|
||||
defined(SAMSUNG_YH820) || defined(SAMSUNG_YH920))
|
||||
/* ADC values read low if PLL is enabled */
|
||||
if(PLL_CONTROL & 0x80000000){
|
||||
adcdata[channel] += 0x14;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue