Skip to content

sd: don't block other goroutines while scanning#458

Merged
deadprogram merged 1 commit into
devfrom
sd-scan-gosched
Jun 13, 2026
Merged

sd: don't block other goroutines while scanning#458
deadprogram merged 1 commit into
devfrom
sd-scan-gosched

Conversation

@aykevl

@aykevl aykevl commented May 25, 2026

Copy link
Copy Markdown
Member

This is still a stopgap, but slightly better than what we had before. Note that wfe probably didn't save any battery power anyway since wfe doesn't work as expected when the SoftDevice is enabled.

Eventually we'd need to use something like tinygo-org/tinygo#5016 for this.

This is still a stopgap, but slightly better than what we had before.
Note that `wfe` probably didn't save any battery power anyway since
`wfe` doesn't work as expected when the SoftDevice is enabled.

@deadprogram deadprogram left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have been discovering how important it is to yield in these sort of situations with the esp32. Thanks for the fix @aykevl

@deadprogram deadprogram merged commit d97a7d0 into dev Jun 13, 2026
4 checks passed
@deadprogram deadprogram deleted the sd-scan-gosched branch June 13, 2026 13:13
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