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

Remove ADC traits #376

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Remove ADC traits #376

merged 1 commit into from
Apr 12, 2022

Conversation

eldruin
Copy link
Member

@eldruin eldruin commented Apr 12, 2022

The traits are quite complicated to use in generic code.
It seems users would be better served by inherent methods.
Also, these traits are nb-only.
I would propose to remove these traits before 1.0.0 and readd/redesign them later if needed.
TODO if merged:

  • Add tracking issue like for the other removed traits.

@eldruin eldruin requested a review from a team as a code owner April 12, 2022 20:23
@rust-highfive
Copy link

r? @therealprof

(rust-highfive has picked a reviewer for you, use r? to override)

Copy link
Contributor

@ryankurte ryankurte left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

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

Okay then.

bors r+

@bors bors bot merged commit 962efd7 into rust-embedded:master Apr 12, 2022
@eldruin eldruin deleted the remove-adc-traits branch April 13, 2022 07:31
Mousius added a commit to Mousius/embedded-hal-mock that referenced this pull request Jun 22, 2022
* Added `TransactionStart`/`TransactionEnd` markers for the new transaction methods
* ADC traits were removed in rust-embedded/embedded-hal#376
newAM pushed a commit to newAM/embedded-hal-mock that referenced this pull request Nov 1, 2022
* Added `TransactionStart`/`TransactionEnd` markers for the new transaction methods
* ADC traits were removed in rust-embedded/embedded-hal#376
tommy-gilligan pushed a commit to tommy-gilligan/embedded-hal-mock that referenced this pull request Jul 5, 2023
* Added `TransactionStart`/`TransactionEnd` markers for the new transaction methods
* ADC traits were removed in rust-embedded/embedded-hal#376
tommy-gilligan pushed a commit to tommy-gilligan/embedded-hal-mock that referenced this pull request Jul 5, 2023
* Added `TransactionStart`/`TransactionEnd` markers for the new transaction methods
* ADC traits were removed in rust-embedded/embedded-hal#376
tommy-gilligan pushed a commit to tommy-gilligan/embedded-hal-mock that referenced this pull request Jul 5, 2023
* Added `TransactionStart`/`TransactionEnd` markers for the new transaction methods
* ADC traits were removed in rust-embedded/embedded-hal#376
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Review is incomplete T-hal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants