jrullan / StateMachine

State machine library for Arduino
MIT License
138 stars 26 forks source link

get rid of compiler warning (remove typedef) #3

Closed smartynov closed 4 years ago

smartynov commented 4 years ago

The typedef keyword is unwanted in this context (we are not naming a new type), so compiler generates a warning. Removing typedef makes compiler happy.

P.S. Thank you so much for this library, @jrullan! I was going to write something similar for a project and your code saved me quite a few hours of work!

jrullan commented 4 years ago

@smartynov I am glad this library helped you. Merged your changes. Thank you for your contribution.