summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZac Nelson <znelson1@ford.com>2016-10-05 10:17:23 -0700
committerGitHub <noreply@github.com>2016-10-05 10:17:23 -0700
commitee24440b7c123ab1b0317e57be33e837a1cb51f1 (patch)
treeddd98f988e4d5943ac2771c6fef4798373b138e0 /src
parent4e7375321a029a32989bc7546329c385e6edb80f (diff)
reduce max isotp message size. see OpenXC vi-firmware issue #375 https://github.com/openxc/vi-firmware/issues/375. (#5)
Diffstat (limited to 'src')
-rw-r--r--src/isotp/isotp_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/isotp/isotp_types.h b/src/isotp/isotp_types.h
index 6ae3a795..3b7fd26d 100644
--- a/src/isotp/isotp_types.h
+++ b/src/isotp/isotp_types.h
@@ -10,7 +10,7 @@
// TODO we want to avoid malloc, and we can't be allocated 4K on the stack for
// each IsoTpMessage, so for now we're setting an artificial max message size
// here - for most multi-frame use cases, 256 bytes is plenty.
-#define OUR_MAX_ISO_TP_MESSAGE_SIZE 256
+#define OUR_MAX_ISO_TP_MESSAGE_SIZE 127
/* Private: IsoTp nibble specifics for PCI and Payload.
*/