Skip to content

fix(threading): one hook switch to rule them all#45

Merged
meldaravaniel merged 1 commit into
mainfrom
fix-hook-switch
Apr 19, 2026
Merged

fix(threading): one hook switch to rule them all#45
meldaravaniel merged 1 commit into
mainfrom
fix-hook-switch

Conversation

@meldaravaniel
Copy link
Copy Markdown
Owner

The single event thread was all wrong. It made the event from the hook switch wait behind whatever was playing. Refactored the structure to pull the system status (menu) up into main, have a session be for a single interaction instead of the whole lifecycle, and made the hook switch events trigger the amp on and off (via SD gpio pin) and create/destroy the sessions.

@meldaravaniel meldaravaniel merged commit cb40687 into main Apr 19, 2026
2 checks passed
@meldaravaniel meldaravaniel deleted the fix-hook-switch branch April 19, 2026 15:10
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.

1 participant