Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
usb-moded
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mer-core
usb-moded
Commits
4b07b394
Commit
4b07b394
authored
Nov 15, 2017
by
spiiroin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jb39319_hvdcp_support' into 'master'
Handle high voltage dedicated chargers See merge request
!30
parents
ddc3b5dd
5f160c51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/usb_moded-udev.c
src/usb_moded-udev.c
+3
-1
No files found.
src/usb_moded-udev.c
View file @
4b07b394
...
...
@@ -447,7 +447,9 @@ static void udev_parse(struct udev_device *dev, bool initial)
else
schedule_cable_connection_timeout
();
}
else
if
(
!
strcmp
(
tmp
,
"USB_DCP"
))
{
else
if
(
!
strcmp
(
tmp
,
"USB_DCP"
)
||
!
strcmp
(
tmp
,
"USB_HVDCP"
)
||
!
strcmp
(
tmp
,
"USB_HVDCP_3"
))
{
setup_charger_connection
();
}
else
if
(
!
strcmp
(
tmp
,
"Unknown"
))
{
...
...
Write
Preview
Markdown
is supported
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