Skip to content

Commit 3942a67

Browse files
committed
In M5.Power.begin() method, limit USB power current to 450ma
1 parent c7dc8e2 commit 3942a67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/utility/Power.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ void POWER::begin() {
7878

7979
//Initial I2C
8080
Wire.begin(21, 22);
81-
// 650ma
82-
setVinMaxCurrent(CURRENT_400MA | CURRENT_200MA);
81+
82+
// 450ma
83+
setVinMaxCurrent(CURRENT_400MA);
8384

8485
setChargeVolt(BAT_4_2V);
8586

0 commit comments

Comments
 (0)