git://git.jankratochvil.net
/
lptgpib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
04d9374
)
terminal: +chvili pockat, asi zbytecne, jen aby to bylo videt na portu
author
Jan Kratochvil
<jan.kratochvil@redhat.com>
Sun, 12 May 2013 16:08:06 +0000
(18:08 +0200)
committer
Jan Kratochvil
<jan.kratochvil@redhat.com>
Sun, 12 May 2013 16:08:06 +0000
(18:08 +0200)
terminal.c
patch
|
blob
|
history
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;