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
29
Issues
29
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
e215868d
Commit
e215868d
authored
Oct 09, 2020
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netif: fix wr_endpoint_device vs wrc_endpoint_dev mismatch
parent
d47f8be2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
netif.c
dev/netif.c
+1
-1
netif.h
include/dev/netif.h
+1
-1
No files found.
dev/netif.c
View file @
e215868d
...
...
@@ -22,7 +22,7 @@
static
int
netif_n_count
=
0
;
static
struct
wrc_netif_device
netif_devs
[
WRC_NETIF_MAX_DEVICES
];
struct
wr
c_endpoint_dev
*
netif_get_default_endpoint
(
void
)
struct
wr
_endpoint_device
*
netif_get_default_endpoint
(
void
)
{
if
(
netif_n_count
==
0
)
return
NULL
;
...
...
include/dev/netif.h
View file @
e215868d
...
...
@@ -27,7 +27,7 @@ struct wrc_netif_device
int
tx_packets
;
};
struct
wr
c_endpoint_dev
*
netif_get_default_endpoint
(
void
);
struct
wr
_endpoint_device
*
netif_get_default_endpoint
(
void
);
int
netif_register_device
(
const
char
*
name
,
const
char
*
desc
,
struct
wr_endpoint_device
*
ep
);
int
netif_get_device_count
(
void
);
struct
wrc_netif_device
*
netif_get_device
(
int
idx
);
...
...
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