JEAN - 2022-03-22

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