From eea160f4982379590825ab38c2b1b73b2ade9c82 Mon Sep 17 00:00:00 2001 From: norly Date: Mon, 6 Jun 2022 15:06:00 +0200 Subject: [PATCH] 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. --- module/can327.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2