Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
ff948754
Commit
ff948754
authored
Jul 09, 2020
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev/gpio: wb_gpio_create returns int not pointer
parent
0bf1b0c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gpio.c
dev/gpio.c
+1
-1
No files found.
dev/gpio.c
View file @
ff948754
...
...
@@ -72,7 +72,7 @@ int wb_gpio_create( struct gpio_device *device, uint32_t base_addr )
device
->
set_out
=
wb_gpio_out
;
device
->
read_pin
=
wb_gpio_in
;
return
device
;
return
1
;
};
void
gen_gpio_set_dir
(
const
struct
gpio_pin
*
pin
,
int
dir
)
...
...
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