summaryrefslogtreecommitdiff
path: root/board/spring/usb_charging.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/spring/usb_charging.c')
-rw-r--r--board/spring/usb_charging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/spring/usb_charging.c b/board/spring/usb_charging.c
index b4d94664ba..499874e8d5 100644
--- a/board/spring/usb_charging.c
+++ b/board/spring/usb_charging.c
@@ -61,7 +61,7 @@
#define I_LIMIT_3000MA 0
/* lower bound for PWM duty cycle : max charger current */
-#define I_LIMIT_MAX MA_TO_PWM(2500)
+#define I_LIMIT_MAX I_LIMIT_3000MA
/* PWM control loop parameters */
#define PWM_CTRL_MAX_DUTY I_LIMIT_100MA /* Minimum current */