projects
/
elmcan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36204e7
)
Increase ELM327_SIZE_RXBUF to support fat UART buffers
author
norly
<ny-git@enpas.org>
Mon, 6 Jun 2022 13:06:00 +0000
(15:06 +0200)
committer
norly
<ny-git@enpas.org>
Mon, 6 Jun 2022 13:12:17 +0000
(15:12 +0200)
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
patch
|
blob
|
history
diff --git
a/module/can327.c
b/module/can327.c
index da81fa3af8828561ccd00cd2b0c3ce816b307516..7bb10e15e5606301fb086b46ab91034f567d0ba4 100644
(file)
--- 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