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
28
Issues
28
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
41f802eb
Commit
41f802eb
authored
May 22, 2012
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc_main: compile for master or slave
parent
5ee623ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
wrc_main.c
wrc_main.c
+10
-0
No files found.
wrc_main.c
View file @
41f802eb
...
...
@@ -367,7 +367,12 @@ int main(void)
wrc_extra_debug
=
1
;
wrc_gui_mode
=
0
;
#if WRPC_MASTER
spll_init
(
SPLL_MODE_FREE_RUNNING_MASTER
,
0
,
1
);
//spll_init(SPLL_MODE_GRAND_MASTER, 0, 1);
#else
spll_init
(
SPLL_MODE_SLAVE
,
0
,
1
);
#endif
for
(;;)
{
...
...
@@ -386,7 +391,12 @@ int main(void)
break
;
case
LINK_WENT_DOWN
:
#if WRPC_MASTER
spll_init
(
SPLL_MODE_FREE_RUNNING_MASTER
,
0
,
1
);
//spll_init(SPLL_MODE_GRAND_MASTER, 0, 1);
#else
spll_init
(
SPLL_MODE_SLAVE
,
0
,
1
);
#endif
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