Browse Source

Plane: Don't log EKF optical flow data if not required

master
priseborough 10 years ago committed by Randy Mackay
parent
commit
195cdb6fd6
  1. 2
      ArduPlane/Log.pde

2
ArduPlane/Log.pde

@ -189,7 +189,7 @@ static void Log_Write_Attitude(void) @@ -189,7 +189,7 @@ static void Log_Write_Attitude(void)
DataFlash.WriteBlock(&pkt, sizeof(pkt));
#if AP_AHRS_NAVEKF_AVAILABLE
DataFlash.Log_Write_EKF(ahrs);
DataFlash.Log_Write_EKF(ahrs,optflow.enabled());
DataFlash.Log_Write_AHRS2(ahrs);
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL

Loading…
Cancel
Save