1
0
Fork 0
forked from len0rd/rockbox

Fix NUM_ADC_CHANNELS for AS3525v2

Change-Id: If523d9fe24711ffe571623aae54f141f00b0ee41
This commit is contained in:
Mihail Zenkov 2016-02-20 04:19:00 +00:00 committed by Gerrit Rockbox
parent 8d50cdca37
commit a24abd2a47

View file

@ -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 */