Skip to content

Commit 128b6c9

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/dma/examples/six.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl<B> Transfer<B> {
149149

150150
/// Blocks until the transfer is done and returns the buffer
151151
pub fn wait(self) -> (Pin<B>, Serial1) {
152-
while self.is_done() {}
152+
while !self.is_done() {}
153153

154154
atomic::compiler_fence(Ordering::Acquire);
155155

0 commit comments

Comments
 (0)