Stae MAchine
This commit is contained in:
13
src/ac/statemachine.h
Normal file
13
src/ac/statemachine.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef STATEMACHINE_H
|
||||
#define STATEMACHINE_H
|
||||
|
||||
struct cw_StateMachine{
|
||||
uint8_t prevstate,currentstate;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct mavl * cw_statemachine_load_states (struct mavl * statemachine_states, cw_StateMachineState_t * states);
|
||||
int cw_statemachine_run(struct cw_StateMachine * mach);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user