mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-23 13:24:03 +08:00
[nps] fix typo: really set mag instead of gyro available in feed_mag
This commit is contained in:
@@ -54,6 +54,6 @@ void imu_feed_gyro_accel(void) {
|
||||
void imu_feed_mag(void) {
|
||||
|
||||
VECT3_ASSIGN(imu.mag_unscaled, sensors.mag.value.x, sensors.mag.value.y, sensors.mag.value.z);
|
||||
imu_nps.gyro_available = TRUE;
|
||||
imu_nps.mag_available = TRUE;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user