diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-11-30 14:16:13 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-12-23 11:39:58 +0000 |
commit | ad05c872fe1a0d925f478106bfb56e731f3ce53c (patch) | |
tree | 156bae0098029e193a9914b6c7049f31efa3805f /firmware/export/config.h | |
parent | 923f92cb12ee39364ddec340de140d126ced1347 (diff) | |
download | rockbox-ad05c872fe1a0d925f478106bfb56e731f3ce53c.tar.gz rockbox-ad05c872fe1a0d925f478106bfb56e731f3ce53c.zip |
powermgmt: Add battery current measurement
This allows targets to report the actual discharging or
charging current if they are able to.
Change-Id: I0b538e6ac94346f1434e45f83c8da8c1260a53a3
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 17bc626a80..2ae7ef2c53 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -208,6 +208,8 @@ | |||
208 | Usually application ports, and only | 208 | Usually application ports, and only |
209 | if the estimation is better that ours | 209 | if the estimation is better that ours |
210 | (which it probably is) */ | 210 | (which it probably is) */ |
211 | #define CURRENT_MEASURE 8 /* Target can report battery charge and/or | ||
212 | * discharge current */ | ||
211 | /* CONFIG_LCD */ | 213 | /* CONFIG_LCD */ |
212 | #define LCD_SSD1815 1 /* as used by Sansa M200 and others */ | 214 | #define LCD_SSD1815 1 /* as used by Sansa M200 and others */ |
213 | #define LCD_S1D15E06 3 /* as used by iRiver H100 series */ | 215 | #define LCD_S1D15E06 3 /* as used by iRiver H100 series */ |