summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c')
-rw-r--r--firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c b/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
index 7ad9479a96..9cf64cee01 100644
--- a/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
+++ b/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
@@ -103,8 +103,8 @@ void usb_charging_maxcurrent_change(int maxcurrent)
103 * reduced dynamically by the AXP192 so the combined load is less 103 * reduced dynamically by the AXP192 so the combined load is less
104 * than the set VBUS current limit. */ 104 * than the set VBUS current limit. */
105 if(maxcurrent <= 100) { 105 if(maxcurrent <= 100) {
106 vbus_limit = AXP_VBUS_LIMIT_100mA; 106 vbus_limit = AXP_VBUS_LIMIT_500mA;
107 charge_current = 550; 107 charge_current = 100;
108 } else { 108 } else {
109 vbus_limit = AXP_VBUS_LIMIT_500mA; 109 vbus_limit = AXP_VBUS_LIMIT_500mA;
110 charge_current = 550; 110 charge_current = 550;