diff options
author | Zac Nelson <znelson1@ford.com> | 2016-10-05 10:17:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-05 10:17:23 -0700 |
commit | ee24440b7c123ab1b0317e57be33e837a1cb51f1 (patch) | |
tree | ddd98f988e4d5943ac2771c6fef4798373b138e0 /tests | |
parent | 4e7375321a029a32989bc7546329c385e6edb80f (diff) |
reduce max isotp message size. see OpenXC vi-firmware issue #375 https://github.com/openxc/vi-firmware/issues/375. (#5)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_receive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_receive.c b/tests/test_receive.c index 3c6a652a..607f9061 100644 --- a/tests/test_receive.c +++ b/tests/test_receive.c @@ -136,7 +136,7 @@ END_TEST START_TEST (test_receive_large_multi_frame) { - const uint8_t data0[CAN_MESSAGE_BYTE_SIZE] = {0x11, 0x01, 0x49, 0x02, 0x01, 0x31, 0x46, 0x4d}; + const uint8_t data0[CAN_MESSAGE_BYTE_SIZE] = {0x10, 0x80, 0x49, 0x02, 0x01, 0x31, 0x46, 0x4d}; IsoTpMessage message = isotp_continue_receive(&SHIMS, &RECEIVE_HANDLE, 0x2a, data0, 8); //Make sure we don't try to receive messages that are too large and don't send flow control. fail_unless(!can_frame_was_sent); |