Plane: reduce redundant logging of STAT from 6 Hz to 5 Hz

- STAT log entry was being done every 5 Hz plus at 1 Hz. This removes the 1Hz.
This commit is contained in:
Tom Pittenger 2016-02-07 08:41:04 -08:00
parent 66fcd8f58a
commit b098466e87

View File

@ -333,10 +333,6 @@ void Plane::one_second_loop()
terrain.log_terrain_data(DataFlash);
}
#endif
// piggyback the status log entry on the MODE log entry flag
if (should_log(MASK_LOG_MODE)) {
Log_Write_Status();
}
ins.set_raw_logging(should_log(MASK_LOG_IMU_RAW));
}