fixed jungfau virtual server as well

This commit is contained in:
2019-11-06 11:05:02 +01:00
parent ba37a51858
commit c3180737ed
4 changed files with 27 additions and 13 deletions

View File

@ -915,9 +915,11 @@ void* start_timer(void* arg) {
(end.tv_nsec - begin.tv_nsec));
// sleep for (period - exptime)
if (periodns > time_ns) {
usleep((periodns - time_ns)/ 1000);
}
if (frameNr < numFrames) { // if there is a next frame
if (periodns > time_ns) {
usleep((periodns - time_ns)/ 1000);
}
}
// set register frames left
}