summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-29 21:00:33 +0700
committerhathach <[email protected]>2013-06-29 21:00:33 +0700
commita943cce99110eabeaea98a390a41842a15de715f (patch)
tree8b6a99e5f33ba0593f342ffc8cd31ba4756bdde5 /tinyusb/class
parent9e607f6deec487ae3da5f94547753070687ca2e7 (diff)
test refractor
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/cdc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tinyusb/class/cdc.h b/tinyusb/class/cdc.h
index cd1341e25..0835dfbd9 100644
--- a/tinyusb/class/cdc.h
+++ b/tinyusb/class/cdc.h
@@ -77,7 +77,7 @@ enum {
};
enum {
- CDC_COMM_PROTOCOL_ATCOMMAND_ITU_V250 = 0x01 , // ITU-T V2.50
+ CDC_COMM_PROTOCOL_ATCOMMAND = 0x01 , // ITU-T V2.50
CDC_COMM_PROTOCOL_ATCOMMAND_PCCA_101 ,
CDC_COMM_PROTOCOL_ATCOMMAND_PCCA_101_AND_ANNEXO ,
CDC_COMM_PROTOCOL_ATCOMMAND_GSM_707 ,
@@ -217,8 +217,8 @@ typedef ATTR_PACKED_STRUCT(struct) {
uint8_t bLength ; ///< Size of this descriptor in bytes.
uint8_t bDescriptorType ; ///< Descriptor Type, must be Class-Specific
uint8_t bDescriptorSubType ; ///< Descriptor SubType one of above CDC_FUCN_DESC_
- uint8_t bControlInterface ; ///< Interface number of Data Interface (zero-based)
- uint8_t bSubordinateInterface[0] ; ///< Variable length array
+ uint8_t bControlInterface ; ///< Interface number of Communication Interface
+ uint8_t bSubordinateInterface[0] ; ///< Interface number of Data Interface
}tusb_cdc_func_union_t;
typedef ATTR_PACKED_STRUCT(struct) {