- fixed errors occured after intendation command in fsm mechanism
This commit is contained in:
6
fsm.h
6
fsm.h
@ -51,6 +51,9 @@ Fsm *FsmStartTask(void *obj, FsmHandler handler, FsmFunc func, char *name);
|
||||
void FsmRestartTask(Fsm * task, FsmFunc func);
|
||||
/* restart a stopped task */
|
||||
|
||||
long FsmPc(void);
|
||||
/* check current pc (used in EasePchk called in first step in fsm functions) */
|
||||
|
||||
int FsmTaskHandler(Fsm * task);
|
||||
/* this is the task handler.
|
||||
the argument should be the pointer obtained from FsmStartTask
|
||||
@ -68,9 +71,6 @@ void FsmKill(void *task);
|
||||
void FsmPause(Fsm * task, int pause);
|
||||
/* pause=1: pause task, pause=0: continue task */
|
||||
|
||||
long FsmCallOld(long pc, FsmFunc func);
|
||||
/* these functions are used in fsm macros and must not be called directly */
|
||||
|
||||
void FsmCall(FsmFunc func);
|
||||
|
||||
void FsmWait(long delay);
|
||||
|
Reference in New Issue
Block a user