forked from M-Labs/zynq-rs
experiments: use stream.close() instead of .flush()
This commit is contained in:
parent
cf17a1c60a
commit
187ef703f2
|
@ -247,7 +247,7 @@ pub fn main_core0() {
|
||||||
.await?
|
.await?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let _ = stream.flush().await;
|
let _ = stream.close().await;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue