scdvom
Member level 1
Hi everyone, I got a question here.
void fbStateMachine()
{
switch(fb.state)
{
case 0: if(isForward)
fb.nextState = 1;
case 1: .....
.
.
}
fb.state = fb.nextState;
}
how do I defined fb.state and fb.nextState in my C code????
thx 4 helping.
void fbStateMachine()
{
switch(fb.state)
{
case 0: if(isForward)
fb.nextState = 1;
case 1: .....
.
.
}
fb.state = fb.nextState;
}
how do I defined fb.state and fb.nextState in my C code????
thx 4 helping.