Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pete
firmware
Commits
d4a814d7
Commit
d4a814d7
authored
5 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
fix(pmic): Raise VSYS to reduce voltage across bypass diode
parent
2f774aae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/card10/pmic.c
+2
-0
2 additions, 0 deletions
lib/card10/pmic.c
with
2 additions
and
0 deletions
lib/card10/pmic.c
+
2
−
0
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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment