common code: Add support for main loop handler

This commit is contained in:
Andreas Eversberg committed 2016-07-09 11:27:02 +02:00
1 parent 26ab26db48
commit f39ee2f15a
7 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Error setting SCHED_RR with prio %d\n", rt_prio);
}
main_loop(&quit, latency, interval);
main_loop(&quit, latency, interval, NULL);
if (rt_prio > 0) {
struct sched_param schedp;