Skip to content

Conversation

@bugadani
Copy link
Contributor

@bugadani bugadani commented Aug 30, 2023

Thank you!

Thank you for your contribution.
Please make sure that your submission includes the following:

Must

  • The code compiles without errors or warnings.
  • All examples work.
  • cargo fmt was run.
  • Your changes were added to the CHANGELOG.md in the proper section.
  • You updated existing examples or added examples (if applicable).
  • Added examples are checked in CI

Nice to have

  • You add a description of your work to this PR.
  • You added proper docs for your newly added features and code.

When I noticed that GPIOs implement From<Gpio<Unknown...> and decided to do some cleanup with it, I found that converting to analog pin mode wasn't implemented. This PR adds this implementation and also cleans up return values.

@bugadani bugadani marked this pull request as ready for review August 30, 2023 03:55
Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@bjoernQ bjoernQ merged commit 32d1ea0 into esp-rs:main Aug 30, 2023
@bugadani bugadani deleted the analog branch August 30, 2023 07:18
playfulFence pushed a commit to playfulFence/esp-hal that referenced this pull request Sep 26, 2023
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