forked from M-Labs/zynq-rs
1
0
Fork 0

experiments: delint

This commit is contained in:
Astro 2020-11-19 20:27:05 +01:00
parent 3172aba1a8
commit 178ab38e35
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ pub fn main_core0() {
// const CHUNK_SIZE: usize = 65536;
// match stream.send((0..=255).cycle().take(CHUNK_SIZE)).await {
match stream.send_slice(&tx_data[..]).await {
Ok(len) => stats_tx.borrow_mut().1 += tx_data.len(), //CHUNK_SIZE,
Ok(_len) => stats_tx.borrow_mut().1 += tx_data.len(), //CHUNK_SIZE,
Err(e) => {
warn!("tx: {:?}", e);
break