diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-02 17:14:56 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-02 17:14:56 -0500 |
commit | 3b25a0491ce9ef9b55c903c6c7f0929bc2910d1a (patch) | |
tree | 95b61b97468093c079a19a9ad8b8f2100cf6e983 /tests/test_receive.c | |
parent | e3637d97ecaef1768d3f9ef40cb0204a0e668ff2 (diff) |
Allocate ISO-TP message buffer on the stack.
Diffstat (limited to 'tests/test_receive.c')
-rw-r--r-- | tests/test_receive.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |