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

This PR fixes issue #130 by ensuring that IMU sensor functions return failure status correctly. #165

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

atharvakedia
Copy link

No description provided.

@atharvakedia atharvakedia linked an issue Jan 13, 2025 that may be closed by this pull request
@ntlhui
Copy link
Contributor

ntlhui commented Jan 13, 2025

Is this ready for review?

@ntlhui ntlhui self-requested a review January 13, 2025 22:42
Copy link
Contributor

Choose a reason for hiding this comment

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

Repeat for Gryroscope and mag


if (myICM.status != ICM_20948_Stat_Ok)
{
SF_OSAL_printf("Failed to get accelerometer data");
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't use printf, add to FLOG

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.

fix: IMU get sensor readings return values
2 participants