mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
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 AP_AHRS_NAVEKF_AVAILABLE
|
||||||
#if OPTFLOW == ENABLED
|
DataFlash.Log_Write_EKF(ahrs);
|
||||||
DataFlash.Log_Write_EKF(ahrs,optflow.enabled());
|
|
||||||
#else
|
|
||||||
DataFlash.Log_Write_EKF(ahrs,false);
|
|
||||||
#endif
|
|
||||||
DataFlash.Log_Write_AHRS2(ahrs);
|
DataFlash.Log_Write_AHRS2(ahrs);
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
|
Loading…
Reference in New Issue
Block a user