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: icm42670: fix serif type #84987

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

afontaine-invn
Copy link
Collaborator

Fix correct use of serif_type if the driver is compiled with both SPI and I2C enabled by storing it in device config.

Fixes Coverity issue 487611- Unused value in drivers/sensor/tdk/icm42670/icm42670.c
Fixes #84766

Fix correct use of serif_type if the driver is compiled with both SPI
and I2C enabled by storing it in device config.

Signed-off-by: Aurelie Fontaine <[email protected]>
@kartben kartben added the Coverity A Coverity detected issue or its fix label Jan 31, 2025
@fabiobaltieri fabiobaltieri merged commit 262008a into zephyrproject-rtos:main Feb 4, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Sensors Sensors Coverity A Coverity detected issue or its fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID: 487611] Unused value in drivers/sensor/tdk/icm42670/icm42670.c
7 participants