Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
USB Relay Box 1
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
USB Relay Box 1
Commits
e48ab750
Commit
e48ab750
authored
Aug 09, 2019
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sw] add GPIO support for CP2103
parent
9da7e1fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cp210x.c
sw/cp210x-driver/cp210x.c
+1
-0
No files found.
sw/cp210x-driver/cp210x.c
View file @
e48ab750
...
@@ -1707,6 +1707,7 @@ static int cp210x_gpio_init(struct usb_serial *serial)
...
@@ -1707,6 +1707,7 @@ static int cp210x_gpio_init(struct usb_serial *serial)
int
result
;
int
result
;
switch
(
priv
->
partnum
)
{
switch
(
priv
->
partnum
)
{
case
CP210X_PARTNUM_CP2103
:
case
CP210X_PARTNUM_CP2104
:
case
CP210X_PARTNUM_CP2104
:
result
=
cp2104_gpioconf_init
(
serial
);
result
=
cp2104_gpioconf_init
(
serial
);
break
;
break
;
...
...
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