log airspeed in rpl mode even if it is not fused

This commit is contained in:
CarlOlsson 2016-06-07 14:02:24 +02:00 committed by tumbili
parent 9c170f7fae
commit acea2f98d5

View File

@ -923,7 +923,7 @@ void Ekf2::task_main()
replay.rng_timestamp = 0;
}
if (fuse_airspeed) {
if (airspeed_updated) {
replay.asp_timestamp = airspeed.timestamp;
replay.indicated_airspeed_m_s = airspeed.indicated_airspeed_m_s;
replay.true_airspeed_m_s = airspeed.true_airspeed_m_s;