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.
Loading
Please register or sign in to comment