mirror of https://github.com/m-labs/artiq.git
drtio: add ping timeout during link init
This commit is contained in:
parent
446f791180
commit
83de8b2ba2
|
@ -101,6 +101,9 @@ pub mod drtio {
|
|||
return 0
|
||||
}
|
||||
count += 1;
|
||||
if count > 200 {
|
||||
return 0;
|
||||
}
|
||||
drtioaux::send_link(linkno, &drtioaux::Packet::EchoRequest).unwrap();
|
||||
io.sleep(100).unwrap();
|
||||
let pr = drtioaux::recv_link(linkno);
|
||||
|
|
Loading…
Reference in New Issue