Skip to content

Commit

Permalink
Merge pull request #90 from modelica/88-fix-syntax-error-within-fmi3_…
Browse files Browse the repository at this point in the history
…ls_bus_buffer_write

Fixed issue #88
  • Loading branch information
msuevern authored Nov 17, 2023
2 parents 3fb6a33 + 7099a36 commit 14ba419
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ls-bus-guide/headers/fmi3LsBusUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ typedef struct
{ \
if ((DataLength) <= (BufferInfo)->size) \
{ \
memcpy((bufferInfo)->start, (Data), (DataLength)); \
(bufferInfo)->writePos = (bufferInfo)->start + (DataLength); \
(bufferInfo)->readPos = (bufferInfo)->start; \
(bufferInfo)->status = fmi3True; \
memcpy((BufferInfo)->start, (Data), (DataLength)); \
(BufferInfo)->writePos = (BufferInfo)->start + (DataLength); \
(BufferInfo)->readPos = (BufferInfo)->start; \
(BufferInfo)->status = fmi3True; \
} \
else \
{ \
(bufferInfo)->status = fmi3False; \
(BufferInfo)->status = fmi3False; \
} \
} \
while (0)
Expand Down

0 comments on commit 14ba419

Please sign in to comment.