Skip to content

Commit

Permalink
Fixed typo with dataBuffer instead of dataSize.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMutta committed Jun 19, 2024
1 parent 13a02ab commit 0a3444a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/XLinkData.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ XLinkError_t XLinkWriteFdData(streamId_t streamId, const long* fdBuffer, int fdS
XLINK_RET_IF(getLinkByStreamId(streamId, &link));
streamId = EXTRACT_STREAM_ID(streamId);

int totalSize = dataBuffer + sizeof(long);
int totalSize = dataSize + sizeof(long);
xLinkEvent_t event = {0};
XLINK_INIT_EVENT(event, streamId, XLINK_WRITE_FD_REQ, totalSize, (void*)fdBuffer, link->deviceHandle);
event.data2 = (void*)dataBuffer;
Expand Down

0 comments on commit 0a3444a

Please sign in to comment.