Skip to content

Commit e9aa3c3

Browse files
committed
Do not abort on timeout
1 parent 8e4c223 commit e9aa3c3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/dap.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,13 +1255,6 @@ fn transfer_with_retry<DEPS>(
12551255
}
12561256
retry -= 1;
12571257
}
1258-
if !matches!(response_value, jtag::TransferResult::Ok(_)) {
1259-
// If we get a wait response, we need to abort the transfer
1260-
// and set the abort bit in the response.
1261-
warn!("Transfer aborted");
1262-
jtag.shift_ir(jtag::JTAG_IR_ABORT);
1263-
jtag.write_abort(1);
1264-
}
12651258
response_value
12661259
}
12671260

0 commit comments

Comments
 (0)