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

Removing unnecessary bitfield from I2C driver #1900

Merged
merged 3 commits into from
Aug 8, 2024

Conversation

playfulFence
Copy link
Contributor

@playfulFence playfulFence commented Aug 2, 2024

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.
  • My changes are in accordance to the esp-rs API guidelines

Extra:

Pull Request Details 📖

Description

closes #1751.

REQUIRES esp-rs/esp-pacs#261 to be merged!!!

Testing

Executed i2c-related examples. The outputs are completely the same as before this change

@playfulFence playfulFence added the skip-changelog No changelog modification needed label Aug 2, 2024
esp-hal/src/i2c.rs Outdated Show resolved Hide resolved
Copy link
Member

@SergioGasquez SergioGasquez left a comment

Choose a reason for hiding this comment

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

Changes LGTM! Might be worth to convert it to draft until esp-rs/esp-pacs#261 is merged and pacs are updated.

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

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

Thanks!

@jessebraham jessebraham enabled auto-merge August 7, 2024 16:57
Copy link
Member

@SergioGasquez SergioGasquez 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 for working on this!

@jessebraham jessebraham added this pull request to the merge queue Aug 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 8, 2024
@MabezDev MabezDev added this pull request to the merge queue Aug 8, 2024
Merged via the queue into esp-rs:main with commit bb6e710 Aug 8, 2024
18 checks passed
AnthonyGrondin pushed a commit to AnthonyGrondin/esp-hal that referenced this pull request Aug 8, 2024
* Getting rid of bitfield usage

fmt

* use `variant` methods for opcode

* update pacs dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove uneccessary bitfield from I2C driver
5 participants