summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2016-10-10 23:33:51 +0000
committerroot <root@beaglebone.local.sublab.org>2016-10-10 23:33:51 +0000
commitbcd9c73974ea1c320755b3599c7341e4a8965d52 (patch)
tree4b93752673421cc7f1d405279125adbdde5069d6
parenta78cca8863b3c84569ba2776433ffdee471ff2ef (diff)
cethcan: fix missing DMX delay
-rw-r--r--cethcan/ttydmx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cethcan/ttydmx.c b/cethcan/ttydmx.c
index 6165ed7..05469c1 100644
--- a/cethcan/ttydmx.c
+++ b/cethcan/ttydmx.c
@@ -160,6 +160,7 @@ static void *ttydmx_thread(void *arg)
write(sink->fd, data ? data->data : &dummy,
data ? data->len : 1);
tcdrain(sink->fd);
+ usleep(10000);
}
return NULL;
}