oxidecomputer / oxidecomputer/hubris
LED API should expose a `set(usize, bool)` function
Open
Nobody has claimed this yet.
:wave: good first issue
developer-experience
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 239
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 23
Description
This would save me from having to write stuff like
if any_link {
self.leds.led_on(1).unwrap();
} else {
self.leds.led_off(1).unwrap();
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the LED API and its existing led_on and led_off functions first. Add the requested set(usize, bool) entry point with equivalent behavior, then verify that callers can use it for both LED states.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100