You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StateMachine_Init() should ensure the function associated with the initialization state (ie. Led_Init()) get called. Now, the first function which gets called is the Led_Idle() function. Suggested change:
void StateMachine_Init(stateMachine_t * stateMachine) {
printf("Initialising state machine.\r\n");
stateMachine->currState = ST_INIT;
(stateFunctionA[stateMachine->currState].func)(); //call initialization function
}
The text was updated successfully, but these errors were encountered:
StateMachine_Init() should ensure the function associated with the initialization state (ie. Led_Init()) get called. Now, the first function which gets called is the Led_Idle() function. Suggested change:
The text was updated successfully, but these errors were encountered: