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

api: adc: exists needs to handle number of channels #485

Merged
merged 4 commits into from
Aug 8, 2023
Merged

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented Aug 1, 2023

This is a bug in the kernel which will be fixed in future releases but for now we enable the ADC example to work.

alistair23
alistair23 previously approved these changes Aug 1, 2023
@lschuermann
Copy link
Member

Linking the kernel-issue here: tock/tock#3375. Also marked that one a release blocker, such that we actually take care of that before the next release.

This is a bug in the kernel which will be fixed in future releases but
for now we enable the ADC example to work.
@jrvanwhy jrvanwhy added the upkeep Indicates a PR is upkeep as defined by the code review policy. label Aug 4, 2023
apis/adc/src/lib.rs Outdated Show resolved Hide resolved
jrvanwhy
jrvanwhy previously approved these changes Aug 4, 2023
apis/adc/src/lib.rs Outdated Show resolved Hide resolved
@bradjc bradjc dismissed stale reviews from jrvanwhy and alistair23 via 3fac699 August 4, 2023 21:41
Kernel reports success_u32 with the number of channels.
We want exists to be a boolean, but it currently isn't in the kernel, so
we hide the success_u32 in the api layer.

When tock updates to change this we can remove this .and() call.
@jrvanwhy jrvanwhy added this pull request to the merge queue Aug 8, 2023
Merged via the queue into master with commit c2917b0 Aug 8, 2023
3 checks passed
@jrvanwhy jrvanwhy deleted the api-adc-exists branch August 8, 2023 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upkeep Indicates a PR is upkeep as defined by the code review policy.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants