We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5410d1 commit 6f414fdCopy full SHA for 6f414fd
ci/dma/examples/four.rs
@@ -53,7 +53,7 @@ impl<B> Transfer<B> {
53
/// Blocks until the transfer is done and returns the buffer
54
pub fn wait(self) -> (B, Serial1) {
55
// NOTE: this is a volatile *read*
56
- while self.is_done() {}
+ while !self.is_done() {}
57
58
// NOTE: added
59
atomic::compiler_fence(Ordering::Acquire);
0 commit comments