mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[nps] imu: fix missing mag scaling
This commit is contained in:
@@ -77,6 +77,7 @@ void imu_nps_event(void)
|
||||
}
|
||||
if (imu_nps.mag_available) {
|
||||
imu_nps.mag_available = FALSE;
|
||||
imu_scale_mag(&imu);
|
||||
AbiSendMsgIMU_MAG_INT32(IMU_BOARD_ID, now_ts, &imu.mag);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user