Skip to content

Commit

Permalink
[nps] fix typo: really set mag instead of gyro available in feed_mag
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Jul 24, 2012
1 parent 97eba07 commit 8754f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/imu/imu_nps.c
Expand Up @@ -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;

}

0 comments on commit 8754f04

Please sign in to comment.