mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 05:01:44 +00:00
boot: fix ChargerDriver inititalization correctness (thanks @CTCaer)
This commit is contained in:
parent
28f0940c58
commit
8d9e3f2a31
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ namespace ams::boot {
|
||||||
R_TRY(powctl::SetChargerInputCurrentLimit(m_charger_session, 500));
|
R_TRY(powctl::SetChargerInputCurrentLimit(m_charger_session, 500));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set input voltage limit to 500 mv. */
|
/* Set boost mode current limit to 500 ma. */
|
||||||
R_TRY(powctl::SetChargerInputVoltageLimit(m_charger_session, 500));
|
R_TRY(powctl::SetChargerBoostModeCurrentLimit(m_charger_session, 500));
|
||||||
|
|
||||||
/* Disable hi-z mode. */
|
/* Disable hi-z mode. */
|
||||||
R_TRY(powctl::SetChargerHiZEnabled(m_charger_session, false));
|
R_TRY(powctl::SetChargerHiZEnabled(m_charger_session, false));
|
||||||
|
|
Loading…
Reference in a new issue