forked from len0rd/rockbox
Fix NUM_ADC_CHANNELS for AS3525v2
Change-Id: If523d9fe24711ffe571623aae54f141f00b0ee41
This commit is contained in:
parent
8d50cdca37
commit
a24abd2a47
1 changed files with 4 additions and 0 deletions
|
@ -347,7 +347,11 @@ void audiohw_set_sampr_dividers(int fsel);
|
|||
#define PLLMODE_LRCK_8_23 (0x2 << 1)
|
||||
|
||||
/* ADC channels */
|
||||
#if CONFIG_CPU == AS3525v2
|
||||
#define NUM_ADC_CHANNELS 16
|
||||
#else
|
||||
#define NUM_ADC_CHANNELS 13
|
||||
#endif
|
||||
|
||||
#define ADC_BVDD 0 /* Battery voltage of 4V LiIo accumulator */
|
||||
#define ADC_RTCSUP 1 /* RTC backup battery voltage */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue