Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const struct CanardTransferMetadata transfer_metadata = {
++my_message_transfer_id; // The transfer-ID shall be incremented after every transmission on this subject.
int32_t result = canardTxPush(&queue, // Call this once per redundant CAN interface (queue).
&canard,
tx_deadline_usec, // Zero if transmission deadline is not limited.
tx_deadline_usec, // Transmission deadline (absolute monotonic time in usec).
&transfer_metadata,
47, // Size of the message payload (see Nunavut transpiler).
"\x2D\x00" "Sancho, it strikes me thou art in great fear.",
Expand Down
2 changes: 1 addition & 1 deletion libcanard/canard.h
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ struct CanardTxQueue canardTxInit(const size_t capacity,
/// Therefore, normally, the timestamp value should be in the future.
/// The library compares (now>deadline) to determine which frames timed out, and so could
/// be dropped (incrementing frames_expired, unless NULL).
/// If this timeout behavior is not needed, the timestamp value can be set to zero.
/// If this timeout behavior is not needed, pass now_usec=0 to canardTxPush()/canardTxPoll().
///
/// The described above automatic dropping of timed-out frames was added in the v4 of the library as an optional
/// feature. It is applied only to the frames that are already in the TX queue (not the new ones that are being pushed
Expand Down