Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projects
White Rabbit Switch - Software
Commits
9f7d168a
Commit
9f7d168a
authored
6 years ago
by
Jean-Claude BAU
Committed by
Adam Wujek
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix when pprofile ptp is set
parent
bc1acd9f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh
+3
-3
3 additions, 3 deletions
userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh
with
3 additions
and
3 deletions
userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh
+
3
−
3
View file @
9f7d168a
...
...
@@ -463,11 +463,11 @@ for i_port in {01..18}; do # scan all the physical ports
# set the profile
v
=
"
$inst_vn
[prof]"
p_prof
=
${
!v
}
if
[
"
${
p_prof
}
"
=
"wr"
]
;
then
if
[
"
${
p_prof
}
"
=
=
"wr"
]
;
then
eval
${
v
}
=
"whiterabbit"
elif
[
"
${
p_prof
}
"
=
"ha"
]
;
then
elif
[
"
${
p_prof
}
"
=
=
"ha"
]
;
then
eval
${
v
}
=
"highaccuracy"
elif
[
"
${
p_prof
}
"
=
"none"
]
;
then
elif
[
"
${
p_prof
}
"
=
=
"none"
]
||
[
"
${
p_prof
}
"
==
"ptp"
]
;
then
# do nothing
eval
${
v
}
=
"ptp"
>>
$OUTPUT_FILE
p_prof
=
"ptp"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment