-
Notifications
You must be signed in to change notification settings - Fork 8.2k
drivers: dac: esp32: avoid out-of-range channel ID #91237
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the commit message to use capitalize-case.
I am not sure what you mean? Sorry |
"fix channel ID check" -> "Fix channel ID check" |
Fix channel ID check in dac_esp32_channel_setup as it was allowing to set up a channel with ID greater than the number of channels. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Sure 🤷🏼 |
|



fix channel ID check in dac_esp32_channel_setup as it was allowing to set up a channel with ID greater than the number of channels.