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

sensors/lsm6dso32: Fixed typo in device address registration. #15824

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

linguini1
Copy link
Contributor

Summary

Resolves issue where invalid address 0x6c was included instead of 0x6a.

Impact

Boards using 0x6a as the address will no longer receive a DEBUGASSERT failure when registering this driver.

Testing

Tests performed on InSpace's flight computer where the LSM6DSO32 IMU uses 0x6a as the address. This board is STM32 based. Here are the registration logs output:

sensor_custom_register: Registering /dev/uorb/sensor_gyro0
sensor_custom_register: Registering /dev/uorb/sensor_accel0
lsm6dso32_register: LSM6DSO32 gyro interrupt handler attached to INT1.
lsm6dso32_register: LSM6DSO32 accel interrupt handler attached to INT2.
lsm6dso32_register: LSM6DSO32 driver registered!

@github-actions github-actions bot added Area: Sensors Sensors issues Size: XS The size of the change in this PR is very small labels Feb 12, 2025
Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

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

Thank you @linguini1 :-)

Copy link
Contributor

@jerpelea jerpelea left a comment

Choose a reason for hiding this comment

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

please update the commit title to
drivers/sensors/lsm6dso32: Fixed typo in device address registration.

The valid addresses should be 0x6a and 0x6b, not 0x6c. Now the device
can be registered with the correct addresses without failing the
assertion.

Signed-off-by: Matteo Golin <[email protected]>
@linguini1 linguini1 requested a review from jerpelea February 13, 2025 16:34
@jerpelea jerpelea merged commit 576a999 into apache:master Feb 14, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Sensors Sensors issues Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants