diff options
author | Keith Packard <keithp@keithp.com> | 2009-04-17 10:10:47 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-04-17 10:10:47 -0700 |
commit | 26095fc0511ee0d5213f038986032f7c59964cf0 (patch) | |
tree | 50db1d8adbf6911bd96651de68cda3b89d21115e /lib/cc-usb.c | |
parent | 543bedde83cbce5145668e72965e02d892187b59 (diff) |
Run-time selection between cp2103 and cc1111
Diffstat (limited to 'lib/cc-usb.c')
-rw-r--r-- | lib/cc-usb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/cc-usb.c b/lib/cc-usb.c index 09b06bb5..9df2e312 100644 --- a/lib/cc-usb.c +++ b/lib/cc-usb.c @@ -317,13 +317,11 @@ cc_usb_reset(struct cc_usb *cc) static struct termios save_termios; struct cc_usb * -cc_usb_open(void) +cc_usb_open(char *tty) { struct cc_usb *cc; - char *tty; struct termios termios; - tty = getenv("CCDBG_TTY"); if (!tty) tty = DEFAULT_TTY; cc = calloc (sizeof (struct cc_usb), 1); |