- Fix Tumbleweed build * ch341eepromtool-extern_readbuf.patch - Drop source extraction script OBS-URL: https://build.opensuse.org/request/show/1038262 OBS-URL: https://build.opensuse.org/package/show/electronics/ch341eepromtool?expand=0&rev=3
15 lines
508 B
Diff
15 lines
508 B
Diff
diff --git a/ch341funcs.c b/ch341funcs.c
|
|
index 3bed06b..55ba7cf 100644
|
|
--- a/ch341funcs.c
|
|
+++ b/ch341funcs.c
|
|
@@ -30,7 +30,7 @@ extern FILE *debugout, *verbout;
|
|
uint32_t getnextpkt; // set by the callback function
|
|
uint32_t syncackpkt; // synch / ack flag used by BULK OUT cb function
|
|
uint16_t byteoffset;
|
|
-uint8_t *readbuf;
|
|
+extern uint8_t *readbuf;
|
|
|
|
// --------------------------------------------------------------------------
|
|
// ch341configure()
|
|
|