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

Use session to create timestamp #530

Merged
merged 12 commits into from
Jul 11, 2024

Conversation

jean-roland
Copy link
Contributor

Closes #502.

This PR revealed an underlying issue regarding timestamps: eclipse-zenoh/zenoh#1239

There might be more work required to make timestamps work on pico.

@@ -39,8 +39,11 @@ void _z_timestamp_clear(_z_timestamp_t *tstamp) {
}

_Bool _z_timestamp_check(const _z_timestamp_t *stamp) {
for (uint8_t i = 0; i < sizeof(_z_id_t); ++i)
if (stamp->id.id[i]) return true;
for (uint8_t i = 0; i < sizeof(_z_id_t); ++i) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it would be better to use here dedicated _z_id_check.

@gabrik gabrik merged commit efbdd2d into eclipse-zenoh:dev/1.0.0 Jul 11, 2024
50 checks passed
@jean-roland jean-roland deleted the ft_timestamp branch July 22, 2024 09:35
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.

3 participants