mirror of https://github.com/rusefi/isotp-c.git
Fix width of temporary variables
This commit is contained in:
parent
ae58e80c37
commit
9c812d5d7b
|
@ -128,8 +128,8 @@ IsoTpMessage isotp_continue_receive(IsoTpShims* shims,
|
|||
break;
|
||||
}
|
||||
case PCI_CONSECUTIVE_FRAME: {
|
||||
uint8_t start_index = handle->received_buffer_size;
|
||||
uint8_t remaining_bytes = handle->incoming_message_size - start_index;
|
||||
uint16_t start_index = handle->received_buffer_size;
|
||||
uint16_t remaining_bytes = handle->incoming_message_size - start_index;
|
||||
message.multi_frame = true;
|
||||
|
||||
if(remaining_bytes > 7) {
|
||||
|
|
Loading…
Reference in New Issue