diff --git a/src/canard.c b/src/canard.c index b04f4373..856ad457 100644 --- a/src/canard.c +++ b/src/canard.c @@ -194,7 +194,7 @@ void canardHandleRxFrame(CanardInstance* ins, const CanardCANFrame* frame, uint6 uint32_t transfer_descriptor = CANARD_MAKE_TRANSFER_DESCRIPTOR(data_type_id, transfer_type, source_node_id, destination_node_id); - if(transfer_type != CanardTransferTypeBroadcast && destination_node_id != CanardGetLocalNodeID(ins)) + if(transfer_type != CanardTransferTypeBroadcast && destination_node_id != canardGetLocalNodeID(ins)) { return; }