X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=teensytas.git;a=blobdiff_plain;f=host%2Fmain.c;h=f8f74c90e453cae0f24c4963164ac1140e54c273;hp=8f768449f0abc124ecdf80573d03b2d698fdd7ec;hb=e4d23548386133037c0f9ccc02e56facd718d2ce;hpb=beaf6d8944f484d2254bfdae1cbef2820be8f674 diff --git a/host/main.c b/host/main.c index 8f76844..f8f74c9 100644 --- a/host/main.c +++ b/host/main.c @@ -994,6 +994,12 @@ int main(int argc, char *argv[]) /* debug text */ buf_dbg[reaped_urb->actual_length] = 0; printf("%s", buf_dbg); + + // continue receiving debug before sending out stuff + tout.tv_sec = 0; + tout.tv_usec = 1000; + timeout = &tout; + continue; } else { fprintf(stderr, "reaped unknown urb? %p #%zu\n",