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

Sensor.timestamp: Account for "get value from latest reading" returning null #480

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

rakuco
Copy link
Member

@rakuco rakuco commented Feb 16, 2024

This addresses a regression introduced by #469. The current algorithm
assumes that "get value from latest reading" never returns null, which is
not the case.

Return null when it does instead of passing an invalid value to "relative
high resolution time".


Preview | Diff

…ng null

This addresses a regression introduced by #469. The current algorithm
assumes that "get value from latest reading" never returns null, which is
not the case.

Return null when it does instead of passing an invalid value to "relative
high resolution time".
@rakuco rakuco merged commit 0a4fd13 into main Feb 17, 2024
2 checks passed
@rakuco rakuco deleted the Sensor-timestamp-account-for-null branch February 17, 2024 10:01
github-actions bot added a commit that referenced this pull request Feb 17, 2024
…ng null (#480)

SHA: 0a4fd13
Reason: push, by rakuco

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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