From 997ed283bffdd078f43cc5174aa6703d7a79519a Mon Sep 17 00:00:00 2001 From: Jm Date: Mon, 28 Dec 2020 01:12:42 -0800 Subject: [PATCH] #601 - tbeam draws too much power from USB port --- src/Power.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Power.cpp b/src/Power.cpp index ba908e3fb..3d185cb2d 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -268,7 +268,9 @@ bool Power::axp192Init() DEBUG_MSG("DCDC3: %s\n", axp.isDCDC3Enable() ? "ENABLE" : "DISABLE"); DEBUG_MSG("Exten: %s\n", axp.isExtenEnable() ? "ENABLE" : "DISABLE"); - axp.setChargeControlCur(AXP1XX_CHARGE_CUR_1320MA); // actual limit (in HW) on the tbeam is 450mA + //axp.setChargeControlCur(AXP1XX_CHARGE_CUR_1320MA); // actual limit (in HW) on the tbeam is 450mA + axp.setChargeControlCur(AXP1XX_CHARGE_CUR_450MA); // There's no HW limit on the tbeam. Setting to 450mz to be a good neighbor on the usb bus. + #if 0 // Not connected