Skip to content

Commit

Permalink
Add small delay when resetting because USB JTAG (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbx81 authored Nov 30, 2023
1 parent bf0de9f commit 0f53cc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const resetTransport = async (transport: Transport) => {
dataTerminalReady: false,
requestToSend: true,
});
await sleep(100);
await transport.device.setSignals({
dataTerminalReady: false,
requestToSend: false,
Expand Down

0 comments on commit 0f53cc7

Please sign in to comment.