mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 14:29:55 +02:00
Move 'gap' of canplayer between frames not logs.
For when -t was too fast, and sans -t, takes too long.
This commit is contained in:
+3
-3
@@ -580,10 +580,10 @@ int main(int argc, char **argv)
|
|||||||
last_log_tv = log_tv;
|
last_log_tv = log_tv;
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* while frames_to_send ... */
|
if (nanosleep(&sleep_ts, NULL))
|
||||||
|
return 1;
|
||||||
|
|
||||||
if (nanosleep(&sleep_ts, NULL))
|
} /* while frames_to_send ... */
|
||||||
return 1;
|
|
||||||
|
|
||||||
delay_loops++; /* private statistics */
|
delay_loops++; /* private statistics */
|
||||||
gettimeofday(&today_tv, NULL);
|
gettimeofday(&today_tv, NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user