Commit 8068f028 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix regression when using POHIC Queue API

parent 92b54f5b
Pipeline #371 skipped
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment