Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Arist
firmware
Commits
d4a814d7
Commit
d4a814d7
authored
Jun 06, 2019
by
schneider
Browse files
fix(pmic): Raise VSYS to reduce voltage across bypass diode
parent
2f774aae
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/card10/pmic.c
View file @
d4a814d7
...
...
@@ -60,6 +60,8 @@ void pmic_init(void)
MAX77650_setICHGIN_LIM
(
1
);
// 190 mA limit on USB
MAX77650_setCHG_CC
(
0
b1011
);
// 90 mA fast charge current
MAX77650_setCHG_EN
(
1
);
// Turn on charger
MAX77650_setVSYS_REG
(
0
b11000
);
// Set VSYS to 4.7 V to reduce voltage across bypass diode
}
void
pmic_set_led
(
uint8_t
led
,
uint8_t
val
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment