diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-01-09 18:57:12 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-01-09 19:58:35 +0000 |
commit | eee8243102460986ba1733222ebdbe9ac3200d77 (patch) | |
tree | a6fb7e2abadedb5c5cf6ff9125b80365cb0733ce /firmware/export/axp-pmu.h | |
parent | eaee5e7339aec46b4b67f06b139b8708810a4c2e (diff) | |
download | rockbox-eee8243102460986ba1733222ebdbe9ac3200d77.tar.gz rockbox-eee8243102460986ba1733222ebdbe9ac3200d77.zip |
axp-pmu: clean up charge current setting
Change-Id: Ifac30f728887c376a83052c826b4bb6a98bbd27a
Diffstat (limited to 'firmware/export/axp-pmu.h')
-rw-r--r-- | firmware/export/axp-pmu.h | 2 |
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); | |||
139 | extern bool axp_cc_is_enabled(void); | 139 | extern bool axp_cc_is_enabled(void); |
140 | 140 | ||
141 | /* Set/get maximum charging current in milliamps */ | 141 | /* Set/get maximum charging current in milliamps */ |
142 | extern void axp_set_charge_current(int maxcurrent); | 142 | extern void axp_set_charge_current(int current_mA); |
143 | extern int axp_get_charge_current(void); | 143 | extern int axp_get_charge_current(void); |
144 | 144 | ||
145 | /* Set the shutdown bit */ | 145 | /* Set the shutdown bit */ |