[nps] imu: fix missing mag scaling

This commit is contained in:
Felix Ruess
2015-04-17 16:40:01 +02:00
parent 10362a533e
commit eb44c4f4bf
+1
View File
@@ -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);
}
}