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

riot-rs-embassy: improve SendCell API #92

Merged
merged 1 commit into from
Feb 21, 2024
Merged

riot-rs-embassy: improve SendCell API #92

merged 1 commit into from
Feb 21, 2024

Conversation

kaspar030
Copy link
Collaborator

This improves SendCell:

  • provide async versions of get() and new()
  • improve docs
  • add more explanation to the SAFETY comment
  • change from &Spawner to Spawner (it's Copy and just a pointer anyways).

src/riot-rs-embassy/src/sendcell.rs Show resolved Hide resolved
src/riot-rs-embassy/src/sendcell.rs Outdated Show resolved Hide resolved
@kaspar030
Copy link
Collaborator Author

like this? 😄

src/riot-rs-embassy/src/sendcell.rs Outdated Show resolved Hide resolved
@ROMemories ROMemories added this pull request to the merge queue Feb 21, 2024
Merged via the queue into main with commit eb9c8ad Feb 21, 2024
7 checks passed
@kaspar030 kaspar030 deleted the fix_SendCell_api branch February 23, 2024 08:01
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