Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Trigger Distribution
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
White Rabbit Trigger Distribution
Commits
013d74f1
Commit
013d74f1
authored
Aug 28, 2018
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait 5sec for fw initialization.
parent
537cbf5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
mock-turtle
dependencies/mock-turtle
+1
-1
libwrtd-common.c
software/lib/libwrtd-common.c
+5
-0
No files found.
mock-turtle
@
d59628cd
Subproject commit
4f92e90e694317f55fcb49e3fc80aa7d86307d48
Subproject commit
d59628cd394b9fc90d59c99342927abe371d79d1
software/lib/libwrtd-common.c
View file @
013d74f1
...
...
@@ -105,6 +105,11 @@ static int __wrtd_load(struct wrtd_desc *wrtd, char *fw,
if
(
err
)
return
err
;
/* Do a ping, but wait for 5sec for the FW to be ready. */
err
=
trtl_fw_ping_timeout
(
wrtd
->
trtl
,
cpu
,
0
,
5000
);
if
(
err
)
return
err
;
err
=
trtl_fw_version
(
wrtd
->
trtl
,
cpu
,
0
,
&
version
);
if
(
err
)
return
err
;
...
...
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