From 8754f046163f578ffc55b0aa42c76d0a00a27b36 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Tue, 24 Jul 2012 21:11:58 +0200 Subject: [PATCH] [nps] fix typo: really set mag instead of gyro available in feed_mag --- sw/airborne/subsystems/imu/imu_nps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/airborne/subsystems/imu/imu_nps.c b/sw/airborne/subsystems/imu/imu_nps.c index 1e3aeaaf785..5cc65e8ae80 100644 --- a/sw/airborne/subsystems/imu/imu_nps.c +++ b/sw/airborne/subsystems/imu/imu_nps.c @@ -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; }