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

Peripheral drivers should validate configuration before applying it to hardware #2839

Open
bugadani opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bugadani
Copy link
Contributor

bugadani commented Dec 19, 2024

apply_config is fallible, which means two things:

  • It can fail
  • The user can ignore the failure and keep using the driver

Because of this, we should validate the whole configuration before we apply it to the hardware. I don't consider this a blocking issue, although we might want to get it right before the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants