State machines for active components only #4569
Replies: 3 comments
-
|
State machines use the message queues to handle signals. Passive components have no queue. If you don't want a thread but you do want a queue you can use a |
Beta Was this translation helpful? Give feedback.
-
|
This is explained in § 11.10 of the FPP User's Guide:
https://nasa.github.io/fpp/fpp-users-guide.html#Defining-Components_State-Machine-Instances |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the responses and the link to the docs section! That answers my question! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks, I was attempting to implement an internal state machine into a passive component when I ran across this build error:
I looked into the PR that implemented the error but did not see a rational there or in the linked issues. Why does the component need to have its own thread in order to use the state machine semantics?
Beta Was this translation helpful? Give feedback.
All reactions