mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: remove logging dependency on optflow
This commit is contained in:
parent
b016bae445
commit
3e34e7ed7e
@ -491,7 +491,11 @@ static void Log_Write_Attitude()
|
||||
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