mirror of
https://github.com/sheumann/hush.git
synced 2024-10-18 11:24:26 +00:00
microcom: compile fixes
This commit is contained in:
parent
d56e3ccf96
commit
68e8e96d7f
@ -51,8 +51,8 @@ int microcom_main(int argc, char **argv)
|
|||||||
enum {
|
enum {
|
||||||
OPT_X = 1 << 0, // do not respect Ctrl-X, Ctrl-@
|
OPT_X = 1 << 0, // do not respect Ctrl-X, Ctrl-@
|
||||||
OPT_s = 1 << 1, // baudrate
|
OPT_s = 1 << 1, // baudrate
|
||||||
OPT_d = 1 << 2 // wait for device response, msecs
|
OPT_d = 1 << 2, // wait for device response, msecs
|
||||||
OPT_t = 1 << 3 // timeout, ms
|
OPT_t = 1 << 3, // timeout, ms
|
||||||
};
|
};
|
||||||
speed_t speed = 9600;
|
speed_t speed = 9600;
|
||||||
int delay = -1;
|
int delay = -1;
|
||||||
@ -60,6 +60,7 @@ int microcom_main(int argc, char **argv)
|
|||||||
|
|
||||||
// fetch options
|
// fetch options
|
||||||
char *opt_s;
|
char *opt_s;
|
||||||
|
char *opt_d;
|
||||||
char *opt_t;
|
char *opt_t;
|
||||||
unsigned opts;
|
unsigned opts;
|
||||||
opt_complementary = "=1"; /* exactly one arg should be there */
|
opt_complementary = "=1"; /* exactly one arg should be there */
|
||||||
|
Loading…
Reference in New Issue
Block a user