Skip to content

Commit

Permalink
Minor timing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Feuer committed Oct 29, 2019
1 parent 577fa10 commit f73c9fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/vsd_pub_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ int main(int argc, char* argv[])
printf("Cannot publish signal %s %s\n", argv[2], strerror(res));
exit(255);
}
dstc_process_events(0);
while(dstc_process_events(500) != ETIME);
puts("Exiting");
exit(0);
}

0 comments on commit f73c9fc

Please sign in to comment.