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
6813a040
Commit
6813a040
authored
Oct 05, 2014
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spll_backup: one last fix to phase filtering
parent
05c6f7aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
spll_backup.c
softpll/spll_backup.c
+4
-3
No files found.
softpll/spll_backup.c
View file @
6813a040
...
...
@@ -358,11 +358,12 @@ int bpll_update(struct spll_backup_state *s, int tag, int source)
//}
//else
// s->discard++;
if
(
s
->
discard
>
1000
)
s
->
once_discarded
=
1
;
s
->
discard
=
0
;
if
(
phase
!=
s
->
phase_loopback
)
TRACE_DEV
(
"greg:, new phase_loopback: %d
\n
"
,
phase
);
TRACE_DEV
(
"greg:, new phase_loopback: %d
%c
\n
"
,
phase
,
s
->
once_discarded
?
'!'
:
' '
);
s
->
phase_loopback
=
phase
;
s
->
once_discarded
=
1
;
s
->
discard
=
0
;
}
else
if
(
phase
!=
0
)
s
->
discard
++
;
...
...
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