diff --git a/libserial/LibSerial.c b/libserial/LibSerial.c index fbd76157f..f58465de3 100644 --- a/libserial/LibSerial.c +++ b/libserial/LibSerial.c @@ -132,8 +132,8 @@ EM_ASYNC_JS(void, open_serial_port, (int baudRateInt), { } } - const writeBuffer = new SharedArrayBuffer(4096); - const readBuffer = new SharedArrayBuffer(4096); + const writeBuffer = new SharedArrayBuffer(64 * 1024); + const readBuffer = new SharedArrayBuffer(64 * 1024); worker.postMessage({ type: 'init', options: serialOpts, diff --git a/package.json b/package.json index a207fc716..72d672cad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@leaphy-robotics/avrdude-webassembly", - "version": "1.7.0", + "version": "1.7.1", "description": "An port of avrdude to the browser using WebAssembly", "type": "module", "scripts": {