projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd052df
)
takes argument
author
Bernhard Tittelbach
<xro@realraum.at>
Fri, 5 Mar 2010 17:38:41 +0000
(17:38 +0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Fri, 5 Mar 2010 17:38:41 +0000
(17:38 +0000)
serial_console/serial.c
patch
|
blob
|
history
diff --git
a/serial_console/serial.c
b/serial_console/serial.c
index
47044f3
..
601e87f
100644
(file)
--- a/
serial_console/serial.c
+++ b/
serial_console/serial.c
@@
-134,6
+134,9
@@
int main(int argc, char* argv[])
int door_fd = 0;
struct termios tmio_prev;
+ if (argc > 0)
+ door_dev_ = argv[1];
+
for(;;)
{
door_fd = open(door_dev_, O_RDWR | O_NONBLOCK); // | O_NOCTTY