summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2022-06-06 15:06:00 +0200
committernorly <ny-git@enpas.org>2022-06-06 15:12:17 +0200
commiteea160f4982379590825ab38c2b1b73b2ade9c82 (patch)
treeb486f9b856e806e811f804a0fb64830a0aba6631 /module
parent36204e790db744dc41c19636facce09c50257466 (diff)
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.
Diffstat (limited to 'module')
-rw-r--r--module/can327.c2
1 files changed, 1 insertions, 1 deletions
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