summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-01-09 18:57:12 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-01-09 19:58:35 +0000
commiteee8243102460986ba1733222ebdbe9ac3200d77 (patch)
treea6fb7e2abadedb5c5cf6ff9125b80365cb0733ce /firmware/export
parenteaee5e7339aec46b4b67f06b139b8708810a4c2e (diff)
downloadrockbox-eee8243102460986ba1733222ebdbe9ac3200d77.tar.gz
rockbox-eee8243102460986ba1733222ebdbe9ac3200d77.zip
axp-pmu: clean up charge current setting
Change-Id: Ifac30f728887c376a83052c826b4bb6a98bbd27a
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/axp-pmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/axp-pmu.h b/firmware/export/axp-pmu.h
index 457f746e8c..553410ced8 100644
--- a/firmware/export/axp-pmu.h
+++ b/firmware/export/axp-pmu.h
@@ -139,7 +139,7 @@ extern void axp_cc_enable(bool en);
extern bool axp_cc_is_enabled(void);
/* Set/get maximum charging current in milliamps */
-extern void axp_set_charge_current(int maxcurrent);
+extern void axp_set_charge_current(int current_mA);
extern int axp_get_charge_current(void);
/* Set the shutdown bit */