Skip to content

Commit

Permalink
renaming fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Dec 6, 2024
1 parent 34deb2f commit 25c5f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/play/play_core/src/measurement_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ bool MeasurementContainer::PublishFrame(long long index)
{
timestamp_usecs = std::chrono::duration_cast<std::chrono::microseconds>(frame_table_[index].send_timestamp_.time_since_epoch()).count();
}
frame_table_[index].publisher_info_->publisher_.SetFilterID(frame_table_[index].send_id_);
frame_table_[index].publisher_info_->publisher_.SetID(frame_table_[index].send_id_);
frame_table_[index].publisher_info_->publisher_.Send(send_buffer_, data_size, timestamp_usecs);
frame_table_[index].publisher_info_->message_counter_++;
return true;
Expand Down
4 changes: 2 additions & 2 deletions ecal/core/src/cimpl/ecal_publisher_cimpl.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2019 Continental Corporation
* Copyright (C) 2016 - 2024 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -93,7 +93,7 @@ extern "C"
{
if (handle_ == nullptr) return(0);
auto* pub = static_cast<eCAL::CPublisher*>(handle_);
if (pub->SetFilterID(id_)) return(1);
if (pub->SetID(id_)) return(1);
return(0);
}

Expand Down

0 comments on commit 25c5f08

Please sign in to comment.