From: norly Date: Mon, 6 Jun 2022 13:06:00 +0000 (+0200) Subject: Increase ELM327_SIZE_RXBUF to support fat UART buffers X-Git-Url: https://git.enpas.org/?p=elmcan.git;a=commitdiff_plain;h=eea160f4982379590825ab38c2b1b73b2ade9c82 Increase ELM327_SIZE_RXBUF to support fat UART buffers See: https://github.com/norly/elmcan/issues/8 There, a VM was used, and apparently buffers of over 256 bytes were being piped in. --- diff --git a/module/can327.c b/module/can327.c index da81fa3..7bb10e1 100644 --- a/module/can327.c +++ b/module/can327.c @@ -57,7 +57,7 @@ #define ELM327_NAPI_WEIGHT 4 -#define ELM327_SIZE_RXBUF 224 +#define ELM327_SIZE_RXBUF 992 #define ELM327_SIZE_TXBUF 32 #define ELM327_CAN_CONFIG_SEND_SFF 0x8000