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

Assert in i2c::read_words_with_crc that buffer size is a multiple of 3 #15

Merged
merged 2 commits into from
Sep 2, 2020

Conversation

rnestler
Copy link
Contributor

@rnestler rnestler commented Sep 2, 2020

Previously it would only panic in debug builds to match the behaviour of
crc8::validate. But since we changed that in #13 it makes sense to adapt
here as well.

Previously it would only panic in debug builds to match the behaviour of
crc8::validate. But since we changed that in #13 it makes sense to adapt
here as well.
@rnestler rnestler requested a review from a team September 2, 2020 08:05
@rnestler rnestler mentioned this pull request Sep 2, 2020
@rnestler rnestler merged commit f58be1b into master Sep 2, 2020
@rnestler rnestler deleted the assert-buffer-size-in-read_words_with_crc branch September 2, 2020 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants