From 9e7545bc3f144373f0081d52c03858ed821c8d35 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Thu, 27 Feb 2014 15:53:58 -0500 Subject: Increase arb IDs to uint32_t to fit extended IDs. --- tests/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/common.c b/tests/common.c index 8d7dd50d..fd1e4b2c 100644 --- a/tests/common.c +++ b/tests/common.c @@ -7,7 +7,7 @@ DiagnosticShims SHIMS; -uint16_t last_can_frame_sent_arb_id; +uint32_t last_can_frame_sent_arb_id; uint8_t last_can_payload_sent[8]; uint8_t last_can_payload_size; bool can_frame_was_sent; @@ -23,7 +23,7 @@ void debug(const char* format, ...) { va_end(args); } -bool mock_send_can(const uint16_t arbitration_id, const uint8_t* data, +bool mock_send_can(const uint32_t arbitration_id, const uint8_t* data, const uint8_t size) { can_frame_was_sent = true; last_can_frame_sent_arb_id = arbitration_id; -- cgit 1.2.3-korg