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
zdroj_adresa: 1 -> 20
[lptgpib.git]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
8ca8cdd
..
b3c460e
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-7,7
+7,7
@@
#include <sys/io.h>
#include <limits.h>
#include <sys/io.h>
#include <limits.h>
-static const int zdroj_adresa=
1
;
+static const int zdroj_adresa=
20
;
// lptgpib.c
#define get_control() (inb(lpt_base+2) ^ 0x04)
// lptgpib.c
#define get_control() (inb(lpt_base+2) ^ 0x04)
@@
-63,6
+63,7
@@
int main(int argc,char **argv) {
fprintf(stderr,"zapisuji radek: %s\n",str);
lptgpib_write(zdroj_adresa,str);
fprintf(stderr,"zapsan radek.\n");
fprintf(stderr,"zapisuji radek: %s\n",str);
lptgpib_write(zdroj_adresa,str);
fprintf(stderr,"zapsan radek.\n");
+ init=1;
}
}
}
}