summaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-02-27 15:53:19 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-02-27 15:53:19 -0500
commita8f4bf42ee73ede0d2d3ddaf6c312c756c042a6b (patch)
treec41ffae2a8e08a238d5ab21fe594782317d41208 /src/isotp/receive.c
parentc01a88ba1e56d455c7187a52a5e244500a0d6b0f (diff)
Increase size of arb ID to uint32_t to fit extended IDs.
Diffstat (limited to 'src/isotp/receive.c')
-rw-r--r--src/isotp/receive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/isotp/receive.c b/src/isotp/receive.c
index 792afda9..2dc380bc 100644
--- a/src/isotp/receive.c
+++ b/src/isotp/receive.c
@@ -14,7 +14,7 @@ bool isotp_handle_single_frame(IsoTpReceiveHandle* handle, IsoTpMessage* message
}
IsoTpReceiveHandle isotp_receive(IsoTpShims* shims,
- const uint16_t arbitration_id, IsoTpMessageReceivedHandler callback) {
+ const uint32_t arbitration_id, IsoTpMessageReceivedHandler callback) {
IsoTpReceiveHandle handle = {
success: false,
completed: false,
@@ -26,7 +26,7 @@ IsoTpReceiveHandle isotp_receive(IsoTpShims* shims,
}
IsoTpMessage isotp_continue_receive(IsoTpShims* shims,
- IsoTpReceiveHandle* handle, const uint16_t arbitration_id,
+ IsoTpReceiveHandle* handle, const uint32_t arbitration_id,
const uint8_t data[], const uint8_t size) {
IsoTpMessage message = {
arbitration_id: arbitration_id,