Skip to content

Commit

Permalink
Adjust timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
rnd-ash committed May 14, 2021
1 parent 05d31b5 commit a715403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_rust/src/commapi/protocols/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ pub trait ProtocolServer: Sized {
.map_err(ProtocolError::CommError)
} else {
// Await max 1 second for response
let mut res = interface.send_recv_data(tx, 1000, 1000)?;
let mut res = interface.send_recv_data(tx, 0, 2000)?;
if res.data[0] == 0x7F && res.data[2] == 0x78 {
// ResponsePending
println!("DIAG - ECU is processing request - Waiting!");
Expand Down

0 comments on commit a715403

Please sign in to comment.