OpenCyphal / libcanard

A compact implementation of the Cyphal/CAN protocol in C for high-integrity real-time embedded systems
http://opencyphal.org
MIT License
326 stars 192 forks source link

Add canardRxAccept2(), fix #163 #164

Closed pavel-kirienko closed 3 years ago

pavel-kirienko commented 3 years ago

Backward compatibility not affected

Context https://forum.uavcan.org/t/libcanard-calling-canardrxaccept-handler-in-o-1-time/1257

PetervdPerk-NXP commented 3 years ago

Hi @pavel-kirienko I've added tests here

https://github.com/PetervdPerk-NXP/libcanard/tree/163_tests

And made a test implementation in PX4 which seems to be working fine.

pavel-kirienko commented 3 years ago

@PetervdPerk-NXP Great! Can you please cherry-pick your extra commit here? You have push access to this repo (and others).

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication