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

Use conditional tasks for song loading instead of scheduled callbacks #2082

Conversation

m-m-adams
Copy link
Collaborator

Fix a bug where conditions could be un checked if a task had been removed after the conditional task was added (e.g. it was beyond numRegisteredTasks in the task array)

Switch the song loading code to use conditional tasks instead of scheduled callbacks. Possibly more efficient, definitely clearer about what's going on

Copy link
Contributor

github-actions bot commented Jun 2, 2024

Test Results

39 tests  ±0   39 ✅ ±0   0s ⏱️ ±0s
 7 suites ±0    0 💤 ±0 
 7 files   ±0    0 ❌ ±0 

Results for commit 6bfe70f. ± Comparison against base commit 5ce917f.

@sapphire-arches sapphire-arches added this pull request to the merge queue Jun 3, 2024
Merged via the queue into SynthstromAudible:community with commit e5b836b Jun 3, 2024
6 checks passed
@m-m-adams m-m-adams deleted the readability/switch_song_load_conditional_tasks branch June 3, 2024 02:19
tastycode pushed a commit to tastycode/DelugeFirmware that referenced this pull request Jul 3, 2024
…SynthstromAudible#2082)

* bugfix - check correct function pointer for null

* use conditional tasks for song loading
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.

2 participants