From ad05c872fe1a0d925f478106bfb56e731f3ce53c Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Tue, 30 Nov 2021 14:16:13 +0000 Subject: powermgmt: Add battery current measurement This allows targets to report the actual discharging or charging current if they are able to. Change-Id: I0b538e6ac94346f1434e45f83c8da8c1260a53a3 --- firmware/export/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/export/config.h') 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 @@ Usually application ports, and only if the estimation is better that ours (which it probably is) */ +#define CURRENT_MEASURE 8 /* Target can report battery charge and/or + * discharge current */ /* CONFIG_LCD */ #define LCD_SSD1815 1 /* as used by Sansa M200 and others */ #define LCD_S1D15E06 3 /* as used by iRiver H100 series */ -- cgit v1.2.3