Skip to content

Commit

Permalink
Instead of defining bitlength of duration, defines common references
Browse files Browse the repository at this point in the history
  • Loading branch information
kjetilkjeka committed Nov 11, 2018
1 parent adef630 commit 694f711
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 38 deletions.
3 changes: 2 additions & 1 deletion uavcan/time/62804.Synchronization.1.0.uavcan
Expand Up @@ -16,7 +16,8 @@ uint8 PUBLISHER_TIMEOUT_PERIOD_MULTIPLIER = 3

# The time when the PREVIOUS message was transmitted from the current publisher.
# If this message is published for the first time, this field must be zero.
SystemTime.1 previous_transmission_timestamp
TimeReference.0.1 reference
truncated uint53 duration

@assert offset % 8 == {0}
@assert offset.max <= 56 # Must fit into one CAN 2.0 frame (least capable transport, smallest MTU)
13 changes: 0 additions & 13 deletions uavcan/time/Duration.1.0.uavcan

This file was deleted.

24 changes: 0 additions & 24 deletions uavcan/time/SystemTime.1.0.uavcan

This file was deleted.

Empty file.

0 comments on commit 694f711

Please sign in to comment.