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

drivers: Fix signs in max31865 temperature calculation #68711

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

tobias-roehmel
Copy link
Contributor

The reference document says that the formula for negative temperatures has two minus signs missing.

fixes #68710

The reference document says that the formula for negative
temperatures has two minus signs missing.

fixes zephyrproject-rtos#68710

Signed-off-by: Tobias Röhmel <[email protected]>
Copy link
Collaborator

@tristan-google tristan-google left a comment

Choose a reason for hiding this comment

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

This looks correct to me based on page 4 of the referenced ADI app note

Copy link
Member

@MaureenHelm MaureenHelm left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@MaureenHelm MaureenHelm added the bug The issue is a bug, or the PR is fixing a bug label Feb 7, 2024
@MaureenHelm MaureenHelm added this to the v3.6.0 milestone Feb 7, 2024
@fabiobaltieri fabiobaltieri merged commit 20f1737 into zephyrproject-rtos:main Feb 9, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Sensors Sensors bug The issue is a bug, or the PR is fixing a bug platform: ADI Analog Devices, Inc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong signs in negative temperature calculation for max31865
7 participants