mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Plane: remove logging dependecy on optflow
This commit is contained in:
parent
d46ceac1f8
commit
9be53502df
@ -189,7 +189,11 @@ static void Log_Write_Attitude(void)
|
||||
DataFlash.WriteBlock(&pkt, sizeof(pkt));
|
||||
|
||||
#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_AHRS2(ahrs);
|
||||
#endif
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||
|
Loading…
Reference in New Issue
Block a user