summaryrefslogtreecommitdiffstats
path: root/firmware/export/axp-pmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/axp-pmu.h')
-rw-r--r--firmware/export/axp-pmu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/export/axp-pmu.h b/firmware/export/axp-pmu.h
index 553410ced8..24c992dea3 100644
--- a/firmware/export/axp-pmu.h
+++ b/firmware/export/axp-pmu.h
@@ -37,8 +37,7 @@
#define ADC_CHARGE_CURRENT 7
#define ADC_DISCHARGE_CURRENT 8
#define ADC_APS_VOLTAGE 9
-#define ADC_BATTERY_POWER 10
-#define NUM_ADC_CHANNELS 11
+#define NUM_ADC_CHANNELS 10
/* ADC sampling rates */
#define AXP_ADC_RATE_25HZ 0
@@ -123,7 +122,6 @@ extern int axp_input_status(void);
extern int axp_adc_read(int adc);
extern int axp_adc_read_raw(int adc);
extern int axp_adc_conv_raw(int adc, int value);
-extern int axp_adc_get_enabled(void);
extern void axp_adc_set_enabled(int adc_bits);
extern int axp_adc_get_rate(void);
extern void axp_adc_set_rate(int rate);