git://git.jankratochvil.net
/
lptgpib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
terminal: +chvili pockat, asi zbytecne, jen aby to bylo videt na portu
[lptgpib.git]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
c0ceafd
..
94f671a
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-44,6
+44,7
@@
int main(int argc,char **argv) {
fprintf(stderr,"precten znak: %02x (%c)\n",val,val);
}
put_control(TRI | NDAC | NRFD ); /* back to default state */
fprintf(stderr,"precten znak: %02x (%c)\n",val,val);
}
put_control(TRI | NDAC | NRFD ); /* back to default state */
+ usleep(1000000/10); /* chvili pockat, asi zbytecne, jen aby to bylo videt na portu */
// klavesnice -> GPIB
struct pollfd pollfd;
// klavesnice -> GPIB
struct pollfd pollfd;