- marked amilevel lsc370driv lscsupprt as obsoloete and removed from make_gen

- enhancements in ease, fsm, ipsdriv ighdriv
This commit is contained in:
2016-05-13 16:33:46 +02:00
parent 24107e993b
commit 56f539a9e8
10 changed files with 134 additions and 16 deletions

6
fsm.c
View File

@@ -155,7 +155,11 @@ int FsmStop(Fsm * task, FsmFunc func)
}
if (i == task->sp) { /* not found on stack */
if (func != task->func)
return 0; /* is also not running function */
return 0; /* is also not running function */\
/*
task->sp = 0;
task->func = task->stack[0].func; */ /* pretty unsure about this */
} else {
task->sp = i; /* unwind stack to level i */
}