Skip to content
Snippets Groups Projects
Commit c3ac1497 authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

mpu9250: fix mag publishing garbage on IMU failure (SPI only)

The Pixhawk cube as an internal mag on SPI. If there was a bad register
read (e.g. on an IMU failure), _register_wait was non-zero and there was
no transfer but _mag still published mpu_report.mag.
parent 33fe69a3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment