Skip to content

Fix incorrect logic in transfer_split_uneven#159

Merged
jonas-schievink merged 1 commit intonrf-rs:masterfrom
bugadani:bugfix/uneven
Jun 13, 2020
Merged

Fix incorrect logic in transfer_split_uneven#159
jonas-schievink merged 1 commit intonrf-rs:masterfrom
bugadani:bugfix/uneven

Conversation

@bugadani
Copy link
Copy Markdown
Contributor

This seems to be a classic case of comment vs code. Both iterators are finished if both of them return None, not one of them.

Maybe Closes #156

@jonas-schievink
Copy link
Copy Markdown
Contributor

Thanks! Looks reasonable to me. @bartekkowalski can you check if this fixes your issue in #156?

@bartekkowalski
Copy link
Copy Markdown

@jonas-schievink Works great, thanks guys!

@jonas-schievink jonas-schievink merged commit ba216e5 into nrf-rs:master Jun 13, 2020
@bugadani bugadani deleted the bugfix/uneven branch June 13, 2020 11:56
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.

SPIM write sends only logic low

3 participants