summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/shanlingq1/power-shanlingq1.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/shanlingq1/power-shanlingq1.c')
-rw-r--r--firmware/target/mips/ingenic_x1000/shanlingq1/power-shanlingq1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_x1000/shanlingq1/power-shanlingq1.c b/firmware/target/mips/ingenic_x1000/shanlingq1/power-shanlingq1.c
index 9637ceef2f..86ee84c37a 100644
--- a/firmware/target/mips/ingenic_x1000/shanlingq1/power-shanlingq1.c
+++ b/firmware/target/mips/ingenic_x1000/shanlingq1/power-shanlingq1.c
@@ -116,8 +116,8 @@ void usb_charging_maxcurrent_change(int maxcurrent)
116 * reduced dynamically by the AXP192 so the combined load is less 116 * reduced dynamically by the AXP192 so the combined load is less
117 * than the set VBUS current limit. */ 117 * than the set VBUS current limit. */
118 if(maxcurrent <= 100) { 118 if(maxcurrent <= 100) {
119 vbus_limit = AXP_VBUS_LIMIT_100mA; 119 vbus_limit = AXP_VBUS_LIMIT_500mA;
120 charge_current = 550; 120 charge_current = 100;
121 } else { 121 } else {
122 vbus_limit = AXP_VBUS_LIMIT_500mA; 122 vbus_limit = AXP_VBUS_LIMIT_500mA;
123 charge_current = 550; 123 charge_current = 550;