digint/tinyfsm

Should FSM_INITIAL_STATE call entry?

tahmmee opened this issue · 1 comments

Great project here. One thing I was a little confused about was why entry state isn't being called when setting initial state. I expected this because the pattern seems to be that entry is the first call to every state, but INIT seems to be exception. I updated the MACRO to work as expected, but is there a better way to do this? Or should it not be done at all?

Guess it would help if Arduino wasn't hiding a segfault. Looks like an issue on my end.