Skip to content

Commit

Permalink
Removed unused fdSize from XLinkWriteFdData
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMutta committed Jul 11, 2024
1 parent c7e2a98 commit 9c698b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/XLink/XLink.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ XLinkError_t XLinkWriteData_(streamId_t streamId, const uint8_t* buffer, int siz
*/
XLinkError_t XLinkWriteFd(streamId_t const streamId, const long fd);
XLinkError_t XLinkWriteFd_(streamId_t streamId, const long fd, XLinkTimespec* outTSend);
XLinkError_t XLinkWriteFdData(streamId_t streamId, const long fd, int fdSize, const uint8_t* dataBuffer, int dataSize);
XLinkError_t XLinkWriteFdData(streamId_t streamId, const long fd, const uint8_t* dataBuffer, int dataSize);


/**
Expand Down
2 changes: 1 addition & 1 deletion src/shared/XLinkData.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ XLinkError_t XLinkWriteFd_(streamId_t streamId, const long fd, XLinkTimespec* ou
return X_LINK_SUCCESS;
}

XLinkError_t XLinkWriteFdData(streamId_t streamId, const long fd, int fdSize, const uint8_t* dataBuffer, int dataSize)
XLinkError_t XLinkWriteFdData(streamId_t streamId, const long fd, const uint8_t* dataBuffer, int dataSize)
{
ASSERT_XLINK(dataBuffer);

Expand Down

0 comments on commit 9c698b7

Please sign in to comment.