ArduCopter: allow logging of both IMU and IMU_RAW

allow logging of both IMU and IMU_RAW at the same time so that filtering and errors can be seen
This commit is contained in:
Andy Piper 2019-08-31 12:54:27 +01:00 committed by Andrew Tridgell
parent 07d99bec9f
commit 3bf2c49871
1 changed files with 1 additions and 2 deletions

View File

@ -389,8 +389,7 @@ void Copter::twentyfive_hz_logging()
Log_Write_EKF_POS();
}
// log IMU data if we're not already logging at the higher rate
if (should_log(MASK_LOG_IMU) && !should_log(MASK_LOG_IMU_RAW)) {
if (should_log(MASK_LOG_IMU)) {
logger.Write_IMU();
}
#endif