Skip to content

Commit b26fe00

Browse files
korken89japaric
andauthored
Update ci/dma/examples/five.rs
Co-Authored-By: japaric <jorge@japaric.io>
1 parent 6f414fd commit b26fe00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/dma/examples/five.rs

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

136136
/// Blocks until the transfer is done and returns the buffer
137137
pub fn wait(self) -> (B, Serial1) {
138-
while self.is_done() {}
138+
while !self.is_done() {}
139139

140140
atomic::compiler_fence(Ordering::Acquire);
141141

0 commit comments

Comments
 (0)