From fcaf836a40e6fed50f91305358f41694c0bc8a23 Mon Sep 17 00:00:00 2001 From: ZhiYuanNJ <78026992+ZhiyuanYuanNJ@users.noreply.github.com> Date: Wed, 8 Jan 2025 13:13:28 +0800 Subject: [PATCH] Update ch347jtag.cpp Update read/write timeout --- src/ch347jtag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch347jtag.cpp b/src/ch347jtag.cpp index 1c72af22cd..c54f62c1b0 100644 --- a/src/ch347jtag.cpp +++ b/src/ch347jtag.cpp @@ -33,7 +33,7 @@ using namespace std; #define CH347JTAG_WRITE_EP 0x06 #define CH347JTAG_READ_EP 0x86 -#define CH347JTAG_TIMEOUT 200 +#define CH347JTAG_TIMEOUT 1000 enum CH347JtagCmd { CMD_BYTES_WO = 0xd3,