Skip to content

Commit

Permalink
Fixed issue 92 (#93)
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt Menne <BenediktM@dspace.de>
  • Loading branch information
bmenne-dspace and Benedikt Menne committed Nov 21, 2023
1 parent e3d9866 commit 0164fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ls-bus-guide/headers/fmi3LsBusUtilCan.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ extern "C"
#define FMI3_LS_BUS_CAN_CREATE_OP_CAN_XL_TRANSMIT(BufferInfo, ID, Ide, Sec, Sdt, VcId, Af, DataLength, Data) \
do \
{ \
fmi3LsBusCanOperationCanXLTransmit _op; \
fmi3LsBusCanOperationCanXlTransmit _op; \
_op.header.type = FMI3_LS_BUS_CAN_OP_CANXL_TRANSMIT; \
_op.header.length = sizeof(fmi3LsBusOperationHeader) + sizeof(fmi3LsBusCanId) + sizeof(fmi3LsBusCanIde) + \
sizeof(fmi3LsBusCanSec) + sizeof(fmi3LsBusCanSdt) + sizeof(fmi3LsBusCanVcId) + \
sizeof(fmi3LsBusCanVcId) + sizeof(fmi3LsBusCanDataLength) + (DataLength); \
sizeof(fmi3LsBusCanAf) + sizeof(fmi3LsBusCanDataLength) + (DataLength); \
_op.id = (ID); \
_op.ide = (Ide); \
_op.sec = (Sec); \
Expand Down

0 comments on commit 0164fdd

Please sign in to comment.