Skip to content

Conversation

@Bingdom
Copy link

@Bingdom Bingdom commented Oct 4, 2025

time.time() is susceptible to ntp adjustments. Use .monotonic() to avoid it.

In the rare case where the OS adjusts the time forward while waiting for conversion, it will raise ADS1015TimeoutError.

This might explain the occasional ADS1015TimeoutError exception I get. Source: #63

time.time() is susceptible to ntp adjustments. Use .monotonic() to avoid it.
@Bingdom
Copy link
Author

Bingdom commented Oct 29, 2025

@Gadgetoid Do you want me to update the changelog and increment the version number?

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.

1 participant