Hi there, my coding stucked at which it is not coming out of the function after running through it,, I wanted it to be go out of the function and move to next case assigned..The related code as below:
case 1: // receiving data if (xxx) reply_message(); //this is the function it should be running thru else rebroadcast_message();//this is another function stage = case 2; break; case 2: //something else
The running stops inside the function, it is not moving to case 2 as assigned.
Can anyone guide if there is any mistake or error..?
but the code runs without error..
PLS HELP ME OUT!!
Addition: I think that's all for the related part, but pls hit me up if any other information is needed..
Addition2: The case is in void loop, and those functions (reply_message and rebroadcast_message) are put before void loop..