The constructor for the Fsm class failed to mention the m_num_timed_transtitions in the member initialization list.
Since this is an initialization problem the bug may not demonstrate itself because the likely intial value of zero is also the intended default value. Adding debug statements caused the problem to go away in my test sketches.
I added two simple test cases to verify basic functionality of the FSM.
Thanks for this. Especially that nasty initialization bug. I should be getting my motherboard back in next week so will be able to fix/merge everything in the issue list and made a release.
The constructor for the Fsm class failed to mention the m_num_timed_transtitions in the member initialization list.
Since this is an initialization problem the bug may not demonstrate itself because the likely intial value of zero is also the intended default value. Adding debug statements caused the problem to go away in my test sketches.
I added two simple test cases to verify basic functionality of the FSM.