Skip to content

Commit f5410d1

Browse files
korken89japaric
andauthored
Update ci/dma/examples/seven.rs
Co-Authored-By: japaric <[email protected]>
1 parent 5d2568b commit f5410d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/dma/examples/seven.rs

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

9191
/// Blocks until the transfer is done and returns the buffer
9292
pub fn wait(self) -> (Pin<B>, Serial1) {
93-
while self.is_done() {}
93+
while !self.is_done() {}
9494

9595
atomic::compiler_fence(Ordering::Acquire);
9696

0 commit comments

Comments
 (0)