Fix code style
This commit is contained in:
parent
76149ac920
commit
598b30c17f
1 changed files with 3 additions and 1 deletions
4
main.c
4
main.c
|
@ -118,10 +118,12 @@ int main()
|
|||
// Event loop
|
||||
|
||||
struct timespec delay;
|
||||
|
||||
while (true) {
|
||||
delay.tv_sec = 0;
|
||||
delay.tv_nsec = tox_iteration_interval(tox) * 1000000;
|
||||
nanosleep(&delay,NULL);
|
||||
nanosleep(&delay, NULL);
|
||||
|
||||
tox_iterate(tox);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue