notaz.gp2x.de
/
megadrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't send new stuff while receiving debug
[megadrive.git]
/
host
/
main.c
diff --git
a/host/main.c
b/host/main.c
index
8f76844
..
f8f74c9
100644
(file)
--- 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);
/* 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",
}
else {
fprintf(stderr, "reaped unknown urb? %p #%zu\n",