Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions axiomatic_adapter/src/axiomatic_socketcan_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void AxiomaticSocketcanBridge::socketcanReceiveCallback(std::unique_ptr<const po
}

auto result = axiomatic_adapter_.send(frame_copy);
if (!result) {
if (result) {
std::cerr << "[SocketCAN RX] Failed to send CAN frame with message: " << *result << std::endl;
}
}
Expand All @@ -128,7 +128,7 @@ void AxiomaticSocketcanBridge::ethcanReceiveCallback(std::unique_ptr<const polym
}

auto result = socketcan_adapter_.send(frame_copy);
if (!result) {
if (result) {
std::cerr << "[EthCAN RX] Failed to send CAN frame with message: " << *result << std::endl;
}
}
Expand Down
Loading