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 b26fe00 commit 9f08767Copy full SHA for 9f08767
ci/dma/examples/eight.rs
@@ -30,7 +30,7 @@ struct Inner<B> {
30
impl<B> Transfer<B> {
31
/// Blocks until the transfer is done and returns the buffer
32
pub fn wait(mut self) -> (Pin<B>, Serial1) {
33
- while self.is_done() {}
+ while !self.is_done() {}
34
35
atomic::compiler_fence(Ordering::Acquire);
36
0 commit comments