Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block cmdQueue during script execution #22

Open
cartermak opened this issue Mar 2, 2021 · 2 comments
Open

Block cmdQueue during script execution #22

cartermak opened this issue Mar 2, 2021 · 2 comments

Comments

@cartermak
Copy link
Contributor

The rocketSideListen thread should only be able to push FIQ emergency commands to the command queue while the hypervisor thread is executing a script.

@cartermak
Copy link
Contributor Author

Could achieve this by adding a flag to commands that are pushed by rocketSideListen... it'd be a little inefficiently but perhaps easier than having rocketSideListen need to poll a shared variable or anything like that.

@LyonFoster
Copy link
Contributor

If the buttons are inactive, then rocketSideListen won't be able to add anything to the command queue.

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

No branches or pull requests

2 participants