diff options
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/microcom.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/miscutils/microcom.c b/miscutils/microcom.c index 52baaca51..817ef55ac 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c | |||
| @@ -51,8 +51,8 @@ int microcom_main(int argc, char **argv) | |||
| 51 | enum { | 51 | enum { |
| 52 | OPT_X = 1 << 0, // do not respect Ctrl-X, Ctrl-@ | 52 | OPT_X = 1 << 0, // do not respect Ctrl-X, Ctrl-@ |
| 53 | OPT_s = 1 << 1, // baudrate | 53 | OPT_s = 1 << 1, // baudrate |
| 54 | OPT_d = 1 << 2 // wait for device response, msecs | 54 | OPT_d = 1 << 2, // wait for device response, msecs |
| 55 | OPT_t = 1 << 3 // timeout, ms | 55 | OPT_t = 1 << 3, // timeout, ms |
| 56 | }; | 56 | }; |
| 57 | speed_t speed = 9600; | 57 | speed_t speed = 9600; |
| 58 | int delay = -1; | 58 | int delay = -1; |
| @@ -60,6 +60,7 @@ int microcom_main(int argc, char **argv) | |||
| 60 | 60 | ||
| 61 | // fetch options | 61 | // fetch options |
| 62 | char *opt_s; | 62 | char *opt_s; |
| 63 | char *opt_d; | ||
| 63 | char *opt_t; | 64 | char *opt_t; |
| 64 | unsigned opts; | 65 | unsigned opts; |
| 65 | opt_complementary = "=1"; /* exactly one arg should be there */ | 66 | opt_complementary = "=1"; /* exactly one arg should be there */ |
