Unverified Commit c5f82ed8 authored by Daniel Agar's avatar Daniel Agar
Browse files

ekf2: fix sensor_combined last_generation

parent 99501b4c
......@@ -353,7 +353,7 @@ void EKF2::Run()
}
} else {
const unsigned last_generation = _vehicle_imu_sub.get_last_generation();
const unsigned last_generation = _sensor_combined_sub.get_last_generation();
sensor_combined_s sensor_combined;
imu_updated = _sensor_combined_sub.update(&sensor_combined);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment