Fix backup time calculation
This commit is contained in:
parent
0643fb90f7
commit
266ae5d6eb
@ -291,7 +291,7 @@ int traveler_main(int argc, char *argv[])
|
||||
elapsed = trv_current_time() - frame_start;
|
||||
if (elapsed < MIN_FRAME_TIME)
|
||||
{
|
||||
usleep(1000000 * (elapsed - MIN_FRAME_TIME));
|
||||
usleep(1000000 * (MIN_FRAME_TIME - elapsed));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user