From 3b25a0491ce9ef9b55c903c6c7f0929bc2910d1a Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Thu, 2 Jan 2014 17:14:56 -0500 Subject: Allocate ISO-TP message buffer on the stack. --- tests/test_receive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_receive.c') diff --git a/tests/test_receive.c b/tests/test_receive.c index 5c757076..d8c2392e 100644 --- a/tests/test_receive.c +++ b/tests/test_receive.c @@ -15,12 +15,12 @@ extern bool can_frame_was_sent; extern bool message_was_received; extern uint16_t last_message_received_arb_id; -extern uint8_t* last_message_received_payload; +extern uint8_t last_message_received_payload[]; extern uint8_t last_message_received_payload_size; extern uint16_t last_message_sent_arb_id; extern bool last_message_sent_status; -extern uint8_t* last_message_sent_payload; +extern uint8_t last_message_sent_payload[]; extern uint8_t last_message_sent_payload_size; extern void setup(); -- cgit 1.2.3-korg