mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 04:46:51 +08:00
[ahrs] mlkf: fix align lp_gyro arg
This commit is contained in:
@@ -101,7 +101,7 @@ static void aligner_cb(uint8_t __attribute__((unused)) sender_id,
|
|||||||
struct Int32Vect3 *lp_mag)
|
struct Int32Vect3 *lp_mag)
|
||||||
{
|
{
|
||||||
if (!ahrs_mlkf.is_aligned) {
|
if (!ahrs_mlkf.is_aligned) {
|
||||||
ahrs_mlkf_align(lp_accel, lp_accel, lp_mag);
|
ahrs_mlkf_align(lp_gyro, lp_accel, lp_mag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user