Skip to content

Conversation

@PerfProf
Copy link

@PerfProf PerfProf commented Mar 1, 2016

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.

@jonblack
Copy link
Owner

jonblack commented Mar 2, 2016

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.

@Thelmos Thelmos mentioned this pull request Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants