aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGareth McMullin2011-12-07 20:57:10 +1300
committerGareth McMullin2011-12-07 20:57:10 +1300
commitc5b4022ed8b1cd518fc26093a11d0408c88452a1 (patch)
treed9ac6ccb961cf37da5b19598310a9166049910da /src
parent61cfbf16c6c6359fe15366dc3238f6ab8a234cf8 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/stm32/cdcacm.c2
1 files changed, 1 insertions, 1 deletions
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,