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

Update SI converstion #507

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Update SI converstion #507

merged 1 commit into from
Dec 14, 2023

Conversation

tfcollins
Copy link
Collaborator

@tfcollins tfcollins commented Dec 14, 2023

Use equation (raw+offset)*scale for IIO property conversion

Description

Fix conversion equation for SI conversion

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Hardware:
  • OS:

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have signed off all commits and they contain "Signed-off by: "
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Use equation (raw+offset)*scale for IIO property conversion

Signed-off-by: Travis F. Collins <[email protected]>
Copy link

Generated documentation for this PR is available at Link

Copy link

github-actions bot commented Dec 14, 2023

Unit Test Results

1 399 tests  ±0      252 ✔️ ±0   9m 12s ⏱️ ±0s
       1 suites ±0   1 147 💤 ±0 
       1 files   ±0          0 ±0 

Results for commit 6387264. ± Comparison against base commit ca88175.

♻️ This comment has been updated with latest results.

@tfcollins tfcollins merged commit 537ca78 into main Dec 14, 2023
46 checks passed
@tfcollins tfcollins deleted the tfcollins/si-fixes branch December 14, 2023 19:36
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