Skip to content

Commit 6f59278

Browse files
Ed Wildgoosefhunleth
authored andcommitted
bump max transfer size to true 32KB
We need a little extra space in our buffer for the command overhead Allocate this plus space for 32KB of data giving us a true 32KB transfer
1 parent d1302db commit 6f59278

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/erlcmd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/*
1515
* Erlang request/response processing
1616
*/
17-
#define ERLCMD_BUF_SIZE 16384 // Large size is to support large UART writes
17+
#define ERLCMD_BUF_SIZE 32768 + 30 // Large size is to support large UART writes
1818
struct erlcmd
1919
{
2020
char buffer[ERLCMD_BUF_SIZE];

0 commit comments

Comments
 (0)