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: sensor: lsm6dsl: Add the 1.6Hz accelerometer rate #63814

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

samueltardieu
Copy link
Contributor

Since the accelerometer's HM (high-performance mode) bit is forced to 1, the 1.6Hz frequency is available by setting the ODR to 11.

1.6Hz is a low-power mode that conserves energy and is suitable for some applications, such as determining the orientation (portrait or landscape) of a device.

@samueltardieu
Copy link
Contributor Author

(pushed to reformat changes with TAB)

@samueltardieu
Copy link
Contributor Author

Constant moved to the right size of the test in the BUILD_ASSERT to make the compliance check happy.

@samueltardieu
Copy link
Contributor Author

@MaureenHelm Is there anything to do on my side to re-run compliance checks?

@MaureenHelm
Copy link
Member

@MaureenHelm Is there anything to do on my side to re-run compliance checks?

No, compliance checks for first-time contributors need to be approved by a maintainer. They'll run automatically for subsequent PRs.

@MaureenHelm
Copy link
Member

@avisconti please take a look

Since the accelerometer's HM (high-performance mode) bit is forced to 1,
the 1.6Hz frequency is available by setting the ODR to 11.

1.6Hz is a low-power mode that conserves energy and is suitable for
some applications, such as determining the orientation (portrait or
landscape) of a device.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
@samueltardieu
Copy link
Contributor Author

Is there anything left to do on my side?

@MaureenHelm MaureenHelm merged commit ea4e1b3 into zephyrproject-rtos:main Nov 6, 2023
18 checks passed
Copy link

github-actions bot commented Nov 6, 2023

Hi @samueltardieu!
Congratulations on getting your very first Zephyr pull request merged 🎉🥳. This is a fantastic achievement, and we're thrilled to have you as part of our community!

To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge.

Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants