Replay: fixed build

This commit is contained in:
Andrew Tridgell 2015-01-01 09:36:33 +11:00
parent 494789054e
commit 9b5a2ea1d0

View File

@ -312,7 +312,7 @@ static void read_sensors(uint8_t type)
inertial_nav.update(ins.get_delta_time());
}
hal.scheduler->stop_clock(hal.scheduler->micros() + (i+1)*update_delta_usec);
dataflash.Log_Write_EKF(ahrs,optflow.enabled());
dataflash.Log_Write_EKF(ahrs,false);
dataflash.Log_Write_AHRS2(ahrs);
ins.set_gyro(0, ins.get_gyro());
ins.set_accel(0, ins.get_accel());