Browse Source

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.
mission-4.1.18
Tom Pittenger 9 years ago
parent
commit
b098466e87
  1. 4
      ArduPlane/ArduPlane.cpp

4
ArduPlane/ArduPlane.cpp

@ -333,10 +333,6 @@ void Plane::one_second_loop() @@ -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));
}

Loading…
Cancel
Save