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

Add retry if data not ready for SCD30 #632

Merged
merged 3 commits into from
Sep 24, 2024
Merged

Add retry if data not ready for SCD30 #632

merged 3 commits into from
Sep 24, 2024

Conversation

tyeth
Copy link
Contributor

@tyeth tyeth commented Sep 19, 2024

This updates the SCD30 driver to pull the data for all metrics in one go, rather than each one in turn which caused many data_ready wait issues - appearing as no data for most metrics.

@tyeth tyeth marked this pull request as ready for review September 19, 2024 15:06
@tyeth tyeth requested a review from brentru September 19, 2024 15:09
Copy link
Contributor Author

@tyeth tyeth left a comment

Choose a reason for hiding this comment

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

@brentru ready for review.
This fixes #627

@tyeth tyeth force-pushed the scd30-read-data-at-once branch from dee66d5 to 44442be Compare September 19, 2024 19:09
Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

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

@tyeth I agree with the overall structure, I do have some comments and questions about the types your using and how they're being packed.

@tyeth tyeth force-pushed the scd30-read-data-at-once branch from cdea44b to ad60d2b Compare September 24, 2024 16:06
@tyeth tyeth force-pushed the scd30-read-data-at-once branch from ad60d2b to d1898c9 Compare September 24, 2024 16:50
@tyeth tyeth requested a review from brentru September 24, 2024 16:55
@tyeth
Copy link
Contributor Author

tyeth commented Sep 24, 2024

This should be better. @brentru ready for re-review

Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

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

This reads much better now, thanks for making adjustments.

@tyeth tyeth merged commit 784a166 into main Sep 24, 2024
33 checks passed
@tyeth tyeth deleted the scd30-read-data-at-once branch September 24, 2024 18:30
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.

2 participants