mirror of
https://github.com/storytold/xsens-packet-send.git
synced 2026-10-09 00:09:59 +00:00
faster animation
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ pub async fn old_format() -> AnyhowResult<()> {
|
|||||||
let slice = &block.data[32..];
|
let slice = &block.data[32..];
|
||||||
let len = sock.send(slice).await?;
|
let len = sock.send(slice).await?;
|
||||||
|
|
||||||
tokio::time::sleep(Duration::from_millis(30)).await;
|
tokio::time::sleep(Duration::from_millis(10)).await;
|
||||||
|
|
||||||
println!("Sent: {}", len);
|
println!("Sent: {}", len);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user