Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented Jan 19, 2024

Pull Request Overview

Use

pub struct HumiditySensor<'a, H: hil::sensors::HumidityDriver<'a>> {
    driver: &'a H,
    apps: Grant<App, UpcallCount<1>, AllowRoCount<0>, AllowRwCount<0>>,
    busy: Cell<bool>,
}

in the humidity capsule rather than driver: &'a dyn hil::sensors::HumidityDriver<'a>.

Then also update the component to make this ergonomic.

Testing Strategy

travis

TODO or Help Wanted

n/a

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

@lschuermann lschuermann added this pull request to the merge queue Jan 26, 2024
Merged via the queue into master with commit 1e35741 Jan 26, 2024
@lschuermann lschuermann deleted the humidity-template branch January 26, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants