summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/powermgmt-target.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/powermgmt-target.h b/firmware/target/arm/as3525/powermgmt-target.h
index 511bcc7085..cc7441fe5a 100644
--- a/firmware/target/arm/as3525/powermgmt-target.h
+++ b/firmware/target/arm/as3525/powermgmt-target.h
@@ -35,9 +35,11 @@
35#if defined(SANSA_CLIP) 35#if defined(SANSA_CLIP)
36#define ADC_BATTERY ADC_BVDD 36#define ADC_BATTERY ADC_BVDD
37#else 37#else
38/* ADC_RTCSUP seems to represent battery voltage better than ADC_BVDD during 38/* ADC_CHG_IN seems to represent battery voltage better than ADC_BVDD during
39 * charging (ADC_BVDD is way too high) and appears the same in normal use. */ 39 * charging (ADC_BVDD is way too high) and appears the same in normal use.
40#define ADC_BATTERY ADC_RTCSUP 40 * Note that when charging some models do not give an accurate reading but jump
41 * between 2 values. */
42#define ADC_BATTERY ADC_CHG_IN
41#endif 43#endif
42 44
43#elif defined(SANSA_E200V2) 45#elif defined(SANSA_E200V2)