Skip to content

Commit

Permalink
fix #34
Browse files Browse the repository at this point in the history
  • Loading branch information
tmori committed May 9, 2024
1 parent 6d1b31b commit 4871ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hako/data/hako_pdu_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace hako::data {
if (this->is_exist_lchannel(robo_name, channel_id)) {
this->master_shmp_->unlock_memory(HAKO_SHARED_MEMORY_ID_0);
HAKO_LOG_INFO("INFO: already exist channel: %s %d\n", robo_name.c_str(), channel_id);
return false;
return true;
}
auto new_channel_id = this->pdu_meta_data_->channel_num;
if (new_channel_id >= HAKO_PDU_CHANNEL_MAX) {
Expand Down

0 comments on commit 4871ada

Please sign in to comment.