From c5b4022ed8b1cd518fc26093a11d0408c88452a1 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Wed, 7 Dec 2011 20:57:10 +1300 Subject: Default to DTR=1 if no request received. This is needed on Mac where opening the port doesn't assert DTR. Thanks to Mike Smith. --- src/stm32/cdcacm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stm32') diff --git a/src/stm32/cdcacm.c b/src/stm32/cdcacm.c index 4198af5..690081e 100644 --- a/src/stm32/cdcacm.c +++ b/src/stm32/cdcacm.c @@ -47,7 +47,7 @@ static char *get_dev_unique_id(char *serial_no); static int configured; -static int cdcacm_gdb_dtr; +static int cdcacm_gdb_dtr = 1; static const struct usb_device_descriptor dev = { .bLength = USB_DT_DEVICE_SIZE, -- cgit v1.2.3