Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko committed Aug 22, 2023
1 parent 85e1b89 commit 8789c3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion libudpard/udpard.h
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,9 @@ int_fast8_t udpardTxInit(struct UdpardTx* const self,
/// level on a given port. This is because the frames of the new transfer will be enqueued before the frames of
/// the previous transfer, so the frames of the previous transfer will be transmitted only after the frames of
/// the new transfer are transmitted, causing the receiver to discard them as duplicates due to their lower transfer-ID.
/// It is therefore not recommended to change the priority level dynamically.
/// To avoid this, it is necessary to wait for all frames originating from the port to be delivered before increasing
/// the priority level on the port. The "user_transfer_reference" may help here as it allows the user to establish
/// traceability from enqueued transfer frames (datagrams) back to the port they originate from.
///
/// The function returns the number of UDP datagrams enqueued, which is always a positive number, in case of success.
/// In case of failure, the function returns a negated error code.
Expand Down
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ enable_testing()
set(CTEST_OUTPUT_ON_FAILURE ON)
set(NO_STATIC_ANALYSIS OFF CACHE BOOL "disable udpard static analysis")

set(library_dir "${CMAKE_CURRENT_SOURCE_DIR}/../libudpard")
set(unity_root "${CMAKE_CURRENT_SOURCE_DIR}/../submodules/unity")
set(library_dir "${CMAKE_SOURCE_DIR}/libudpard")
set(unity_root "${CMAKE_SOURCE_DIR}/submodules/unity")

# Use -DNO_STATIC_ANALYSIS=1 to suppress static analysis.
# If not suppressed, the tools used here shall be available, otherwise the build will fail.
Expand Down

0 comments on commit 8789c3a

Please sign in to comment.