Skip to content

Commit

Permalink
Fixed issue #88
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Menne authored and Benedikt Menne committed Nov 17, 2023
1 parent 3fb6a33 commit 7099a36
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 7099a36

Please sign in to comment.