Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Commits
8068f028
Commit
8068f028
authored
Jun 22, 2016
by
Maxime Perrotin
Browse files
Fix regression when using POHIC Queue API
parent
92b54f5b
Pipeline
#371
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
c/practical_functions.c
View file @
8068f028
...
...
@@ -1039,12 +1039,12 @@ String_list *timers(FV *fv)
}
/* Return the number of
Cyclic and Sporadic
interfaces from a list */
/* Return the number of
RCM-Visible (SPO/CYC/PRO)
interfaces from a list */
int
CountActivePI
(
Interface_list
*
interfaces
)
{
int
res
=
0
;
FOREACH
(
pi
,
Interface
,
interfaces
,
{
if
(
PI
==
pi
->
direction
&&
asynch
==
pi
->
synchronism
)
res
++
;
if
(
PI
==
pi
->
direction
&&
(
asynch
==
pi
->
synchronism
||
protected
==
pi
->
rcm
)
)
res
++
;
});
return
res
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment