Hello, How to document the following code to have the call graph with FunctionA, FunctionB, etc....? main -> Scheduler-> FunctionA main -> Scheduler-> FunctionB
void Scheduler (void) { switch ( cond1) { case value1: FunctionA(); FunctionB();
case value2: FunctionC(); FunctionD(); }
}
void main (void) { while (1) { Scheduler(); } }
Thanks a lot for your support
Log in to post a comment.
Hello,
How to document the following code to have the call graph with FunctionA, FunctionB, etc....?
main -> Scheduler-> FunctionA
main -> Scheduler-> FunctionB
void Scheduler (void)
{
switch ( cond1)
{
case value1:
FunctionA();
FunctionB();
}
void main (void)
{
while (1)
{
Scheduler();
}
}
Thanks a lot for your support