Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single copy TX pipeline for CAN #32

Merged
merged 11 commits into from
Dec 2, 2024
Prev Previous commit
Next Next commit
latest udpard v2
  • Loading branch information
serges147 committed Nov 28, 2024
commit 09a6b6f4e783dfa8a6a2239062806a3bb7635751
4 changes: 2 additions & 2 deletions libudpard_demo/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,8 @@ static void transmitPendingFrames(const UdpardMicrosecond time_usec,
{
for (size_t i = 0; i < iface_count; i++)
{
struct TxPipeline* const pipe = &tx_pipelines[i];
const struct UdpardTxItem* tqi = udpardTxPeek(&pipe->udpard_tx); // Find the highest-priority datagram.
struct TxPipeline* const pipe = &tx_pipelines[i];
struct UdpardTxItem* tqi = udpardTxPeek(&pipe->udpard_tx); // Find the highest-priority datagram.
while (tqi != NULL)
{
// Attempt transmission only if the frame is not yet timed out while waiting in the TX queue.
Expand Down