summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/as3514.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index 783683e593..7a617d469b 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -347,7 +347,11 @@ void audiohw_set_sampr_dividers(int fsel);
347 #define PLLMODE_LRCK_8_23 (0x2 << 1) 347 #define PLLMODE_LRCK_8_23 (0x2 << 1)
348 348
349/* ADC channels */ 349/* ADC channels */
350#if CONFIG_CPU == AS3525v2
351#define NUM_ADC_CHANNELS 16
352#else
350#define NUM_ADC_CHANNELS 13 353#define NUM_ADC_CHANNELS 13
354#endif
351 355
352#define ADC_BVDD 0 /* Battery voltage of 4V LiIo accumulator */ 356#define ADC_BVDD 0 /* Battery voltage of 4V LiIo accumulator */
353#define ADC_RTCSUP 1 /* RTC backup battery voltage */ 357#define ADC_RTCSUP 1 /* RTC backup battery voltage */