projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ab858
)
added - to raw_hidshit
author
Othmar Gsenger
<otti@realraum.at>
Thu, 16 Feb 2012 17:47:16 +0000
(17:47 +0000)
committer
Othmar Gsenger
<otti@realraum.at>
Thu, 16 Feb 2012 17:47:16 +0000
(17:47 +0000)
rf433rcv/pc/rawhid_test.c
patch
|
blob
|
history
diff --git
a/rf433rcv/pc/rawhid_test.c
b/rf433rcv/pc/rawhid_test.c
index
2c3f9fb
..
cd94bdb
100644
(file)
--- a/
rf433rcv/pc/rawhid_test.c
+++ b/
rf433rcv/pc/rawhid_test.c
@@
-43,6
+43,8
@@
int main (int argc, char *argv[])
if (argc>1)
{
FILE * f = fopen (argv[1], "r");
+ if (strcmp("-",argv[1]) == 0)
+ f = stdin;
if (!f)
return -3;
printf("Clearing Buffer\n");