diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-02-27 15:53:58 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-02-27 15:53:58 -0500 |
commit | 9e7545bc3f144373f0081d52c03858ed821c8d35 (patch) | |
tree | 1f8020ed1281a8e9fcb37295dad8a99af798d7fd /tests | |
parent | 9a943761ae920653dd8fe6e7fedfc58bd50c7938 (diff) |
Increase arb IDs to uint32_t to fit extended IDs.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common.c b/tests/common.c index 8d7dd50..fd1e4b2 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; |