Skip to content

Commit 9f08767

Browse files
korken89japaric
andauthored
Update ci/dma/examples/eight.rs
Co-Authored-By: japaric <[email protected]>
1 parent b26fe00 commit 9f08767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/dma/examples/eight.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct Inner<B> {
3030
impl<B> Transfer<B> {
3131
/// Blocks until the transfer is done and returns the buffer
3232
pub fn wait(mut self) -> (Pin<B>, Serial1) {
33-
while self.is_done() {}
33+
while !self.is_done() {}
3434

3535
atomic::compiler_fence(Ordering::Acquire);
3636

0 commit comments

Comments
 (0)