mirror of https://github.com/ArduPilot/ardupilot
Plane: integrate simpler Log_Write_EKF
This commit is contained in:
parent
b7921a8341
commit
6a4c8efd7b
|
@ -195,11 +195,7 @@ void Plane::Log_Write_Attitude(void)
|
|||
}
|
||||
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
#if OPTFLOW == ENABLED
|
||||
DataFlash.Log_Write_EKF(ahrs,optflow.enabled());
|
||||
#else
|
||||
DataFlash.Log_Write_EKF(ahrs,false);
|
||||
#endif
|
||||
DataFlash.Log_Write_EKF(ahrs);
|
||||
DataFlash.Log_Write_AHRS2(ahrs);
|
||||
#endif
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
|
|
Loading…
Reference in New Issue