Browse Source

Copter: fixed logging of IMT without raw logging

master
Andrew Tridgell 10 years ago
parent
commit
db4ac68f5e
  1. 2
      ArduCopter/ArduCopter.cpp

2
ArduCopter/ArduCopter.cpp

@ -402,6 +402,8 @@ void Copter::full_rate_logging_loop() @@ -402,6 +402,8 @@ void Copter::full_rate_logging_loop()
{
if (should_log(MASK_LOG_IMU_FAST) && !should_log(MASK_LOG_IMU_RAW)) {
DataFlash.Log_Write_IMU(ins);
}
if (should_log(MASK_LOG_IMU_FAST) || should_log(MASK_LOG_IMU_RAW)) {
DataFlash.Log_Write_IMUDT(ins);
}
}

Loading…
Cancel
Save