Skip to content

MPU_6050: add timeout to device reset polling loop#977

Open
Grazfather wants to merge 1 commit into
mainfrom
fix/mpu6050
Open

MPU_6050: add timeout to device reset polling loop#977
Grazfather wants to merge 1 commit into
mainfrom
fix/mpu6050

Conversation

@Grazfather

@Grazfather Grazfather commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

The DEVICE_RESET busy-wait loop had no timeout or delay, causing an infinite hang if the device never clears the reset bit. Add a 1s timeout with 1ms polling interval.

From #974

The DEVICE_RESET busy-wait loop had no timeout or delay, causing an
infinite hang if the device never clears the reset bit. Add a 1s timeout
with 1ms polling interval.

Co-Authored-By: salalaika <by965738071@163.com>
@github-actions

Copy link
Copy Markdown

⚠️ Unused Imports Found

drivers/src/sensor/MPU_6050.zig:24:0: std is unused

Run zigimports --fix <file> locally to automatically remove unused imports.

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