aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/CDC.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-26 09:58:43 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-26 09:58:43 +0000
commit1756087c3e1ecd21a594eaf7415c12ba1c852a32 (patch)
treeaf19541b036148bfe72ff42e6166802a71f11e80 /LUFA/Drivers/USB/Class/Host/CDC.h
parentb2cf4d32221075c96a7487b1fc0baa2598d373fe (diff)
downloadlufa-1756087c3e1ecd21a594eaf7415c12ba1c852a32.tar.gz
lufa-1756087c3e1ecd21a594eaf7415c12ba1c852a32.tar.bz2
lufa-1756087c3e1ecd21a594eaf7415c12ba1c852a32.zip
Optimize vendor/product description string display code in MassStorageHost.
Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/CDC.h')
-rw-r--r--LUFA/Drivers/USB/Class/Host/CDC.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/CDC.h b/LUFA/Drivers/USB/Class/Host/CDC.h
index 4054cf117..3c24617e1 100644
--- a/LUFA/Drivers/USB/Class/Host/CDC.h
+++ b/LUFA/Drivers/USB/Class/Host/CDC.h
@@ -80,6 +80,8 @@
struct
{
+ bool Active; /**< Indicates if the interface is currently active, i.e. attached to the connected device */
+
uint32_t BaudRateBPS; /**< Baud rate of the virtual serial port, in bits per second */
uint8_t CharFormat; /**< Character format of the virtual serial port, a value from the
* CDCDevice_CDC_LineCodingFormats_t enum