Skip to content

Conversation

@serges147
Copy link
Contributor

@serges147 serges147 commented Apr 22, 2025

  • libcyphal::MonotonicClock type definition is moved under libcyphal::Config - now it's possible to customize libcyphal TimePoint & Duration types.
  • Fixed several missing std::chrono::duration_cast<Duration> when converting from lizard µsec to libcyphal time.
  • Added two new unit tests to ensure that both CAN and UDP transports could be compiled with custom milliseconds-based clock. Without the above duration_cast fixes these unit tests are not-compilable.

@serges147 serges147 self-assigned this Apr 22, 2025
@sonarqubecloud
Copy link

@serges147 serges147 marked this pull request as ready for review April 22, 2025 13:58
@pavel-kirienko pavel-kirienko added this pull request to the merge queue Apr 23, 2025
Merged via the queue into main with commit 8716d16 Apr 23, 2025
34 checks passed
@pavel-kirienko pavel-kirienko deleted the issue/431_duration_cast branch April 23, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants