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

unstabilize Uart::split, globally remove _bytes postfix #3137

Merged
merged 13 commits into from
Feb 17, 2025

Conversation

MabezDev
Copy link
Member

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
  • My changes were added to the CHANGELOG.md in the proper section.
  • I have added necessary changes to user code to the Migration Guide.
  • My changes are in accordance to the esp-rs API guidelines

Extra:

Pull Request Details 📖

This PR removes the postfix _bytes whereever the input parameter was a byte slice. This leaves us with the common case of write == bytes, and gives us scope to add write_words, write_bits etc in the future.

It also unstabilizes Uart::split the the different halfs respectively.

@MabezDev MabezDev force-pushed the remove-bytes-postfix branch 2 times, most recently from a6fcdd3 to 7d19cf6 Compare February 14, 2025 11:08
Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! Just one question.

@MabezDev MabezDev force-pushed the remove-bytes-postfix branch from 79ff8a4 to 9dd24b9 Compare February 17, 2025 12:31
@MabezDev MabezDev enabled auto-merge February 17, 2025 12:34
@MabezDev MabezDev force-pushed the remove-bytes-postfix branch from 9dd24b9 to a87f093 Compare February 17, 2025 12:44
@MabezDev MabezDev added this pull request to the merge queue Feb 17, 2025
Merged via the queue into esp-rs:main with commit 07463bf Feb 17, 2025
26 of 27 checks passed
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.

3 participants