Skip to content

Commit

Permalink
Fixed AXP2101 setChargerTerminationCurr
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Mar 29, 2024
1 parent 383d9a0 commit 6718785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XPowersAXP2101.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -2442,7 +2442,7 @@ public:
int val = readRegister(XPOWERS_AXP2101_ITERM_CHG_SET_CTRL);
if (val == -1)return;
val &= 0xF0;
writeRegister(XPOWERS_AXP2101_ICC_CHG_SET, val | opt);
writeRegister(XPOWERS_AXP2101_ITERM_CHG_SET_CTRL, val | opt);
}

xpowers_axp2101_chg_iterm_t getChargerTerminationCurr(void)
Expand Down

0 comments on commit 6718785

Please sign in to comment.