Skip to content

Commit

Permalink
Pass parameters in the correct order to DDS_DataReader_read in rmw_co…
Browse files Browse the repository at this point in the history
…nnextdds_count_unread_samples for micro (#129)

Signed-off-by: Christopher Wecht <cwecht@mailbox.org>
  • Loading branch information
cwecht committed Aug 3, 2023
1 parent b57d032 commit 6b73258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw_connextdds_common/src/rtime/dds_api_rtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1220,8 +1220,8 @@ rmw_connextdds_count_unread_samples(
&data_seq,
&info_seq,
DDS_LENGTH_UNLIMITED,
DDS_ANY_VIEW_STATE,
DDS_NOT_READ_SAMPLE_STATE,
DDS_ANY_VIEW_STATE,
DDS_ANY_INSTANCE_STATE);
if (DDS_RETCODE_OK != rc && DDS_RETCODE_NO_DATA != rc) {
RMW_CONNEXT_LOG_ERROR_SET("failed to read data from DDS reader")
Expand Down

0 comments on commit 6b73258

Please sign in to comment.