aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index abb803f..4e0896c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -997,6 +997,8 @@ pub async fn connect_and_run(
997 continue; 997 continue;
998 } 998 }
999 999
1000 socket.set_timeout(None);
1001
1000 if let Err(err) = device.run(&mut socket).await { 1002 if let Err(err) = device.run(&mut socket).await {
1001 crate::log::error!( 1003 crate::log::error!(
1002 "Device run failed with: {:?}", 1004 "Device run failed with: {:?}",