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.
This commit is contained in:
parent
61cfbf16c6
commit
c5b4022ed8
@ -47,7 +47,7 @@
|
|||||||
static char *get_dev_unique_id(char *serial_no);
|
static char *get_dev_unique_id(char *serial_no);
|
||||||
|
|
||||||
static int configured;
|
static int configured;
|
||||||
static int cdcacm_gdb_dtr;
|
static int cdcacm_gdb_dtr = 1;
|
||||||
|
|
||||||
static const struct usb_device_descriptor dev = {
|
static const struct usb_device_descriptor dev = {
|
||||||
.bLength = USB_DT_DEVICE_SIZE,
|
.bLength = USB_DT_DEVICE_SIZE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user