Replay: Fix bug preventing use of IMT data during replay

This commit is contained in:
Paul Riseborough 2016-06-22 15:48:45 +10:00 committed by Andrew Tridgell
parent e117bedf6a
commit 094dd9d769

View File

@ -399,9 +399,7 @@ bool Replay::find_log_info(struct log_information &info)
if (streq(type, "PARM") && streq(reader.last_parm_name, "SCHED_LOOP_RATE")) {
// get rate directly from parameters
info.update_rate = reader.last_parm_value;
return true;
}
if (strlen(clock_source) == 0) {
// If you want to add a clock source, also add it to
// handle_msg and handle_log_format_msg, above. Note that